summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_fs_live_variables.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2013-04-30 14:30:19 -0700
committerEric Anholt <eric@anholt.net>2013-10-10 15:54:16 -0700
commitb6af650a095034eaa2de93bf6cf2985d7fdfce89 (patch)
treea3ea2991ea337cb148283881e8f70d88c483e8d5 /src/mesa/drivers/dri/i965/brw_fs_live_variables.h
parent3093085847db0455a88e45f20e29660b2b7f8515 (diff)
downloadexternal_mesa3d-b6af650a095034eaa2de93bf6cf2985d7fdfce89.zip
external_mesa3d-b6af650a095034eaa2de93bf6cf2985d7fdfce89.tar.gz
external_mesa3d-b6af650a095034eaa2de93bf6cf2985d7fdfce89.tar.bz2
i965/fs: Use per-channel interference for register_coalesce_2().
This will let us coalesce into texture-from-GRF arguments, which would otherwise be prevented due to the live interval for the whole vgrf extending across all the MOVs setting up the channels of the message v2 (Kenneth Graunke): Rebase for renames. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs_live_variables.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs_live_variables.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_live_variables.h b/src/mesa/drivers/dri/i965/brw_fs_live_variables.h
index fa14eec..82575d8 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_live_variables.h
+++ b/src/mesa/drivers/dri/i965/brw_fs_live_variables.h
@@ -66,6 +66,9 @@ public:
void compute_live_variables();
void compute_start_end();
+ bool vars_interfere(int a, int b);
+ int var_from_reg(fs_reg *reg);
+
fs_visitor *v;
cfg_t *cfg;
void *mem_ctx;