aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_fs_cse.cpp
diff options
context:
space:
mode:
authorFrancisco Jerez <[email protected]>2015-02-19 14:52:24 +0200
committerFrancisco Jerez <[email protected]>2015-05-04 17:44:17 +0300
commitf2fad0dc80627e853eea558498f18a9fa769992e (patch)
tree51302a9f50dd09bf7bab7f52e158a91ca1788aa7 /src/mesa/drivers/dri/i965/brw_fs_cse.cpp
parentc74511f5dc239eefb8604294c6c1e57b3a394111 (diff)
i965: Perform basic optimizations on the BROADCAST opcode.
v2: Style fixes. Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs_cse.cpp')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs_cse.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_cse.cpp b/src/mesa/drivers/dri/i965/brw_fs_cse.cpp
index c1d06161cbf..8958e621802 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_cse.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_cse.cpp
@@ -89,6 +89,7 @@ is_expression(const fs_inst *const inst)
case FS_OPCODE_VARYING_PULL_CONSTANT_LOAD:
case FS_OPCODE_CINTERP:
case FS_OPCODE_LINTERP:
+ case SHADER_OPCODE_BROADCAST:
return true;
case SHADER_OPCODE_RCP:
case SHADER_OPCODE_RSQ: