summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_fs.h
diff options
context:
space:
mode:
authorFrancisco Jerez <currojerez@riseup.net>2015-02-20 20:25:04 +0200
committerFrancisco Jerez <currojerez@riseup.net>2015-05-04 17:44:17 +0300
commit3da9f708d4f1375d674fae4d6c6eb06e4c8d9613 (patch)
treed554a12cf0c59ddbc648b37e58e2214f530e57bd /src/mesa/drivers/dri/i965/brw_fs.h
parent715bc6d8b16a0bbdc17fe1e1e46b88a679bf312b (diff)
downloadexternal_mesa3d-3da9f708d4f1375d674fae4d6c6eb06e4c8d9613.zip
external_mesa3d-3da9f708d4f1375d674fae4d6c6eb06e4c8d9613.tar.gz
external_mesa3d-3da9f708d4f1375d674fae4d6c6eb06e4c8d9613.tar.bz2
i965: Perform basic optimizations on the FIND_LIVE_CHANNEL opcode.
v2: Save some CPU cycles by doing 'return progress' rather than 'depth++' in the discard jump special case. Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.h b/src/mesa/drivers/dri/i965/brw_fs.h
index 0783754..5f4ff15 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.h
+++ b/src/mesa/drivers/dri/i965/brw_fs.h
@@ -239,6 +239,7 @@ public:
bool opt_register_renaming();
bool register_coalesce();
bool compute_to_mrf();
+ bool eliminate_find_live_channel();
bool dead_code_eliminate();
bool remove_duplicate_mrf_writes();