summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2014-09-24 14:51:22 -0700
committerJason Ekstrand <[email protected]>2014-09-30 10:29:15 -0700
commit29f4c5b5d5d142f19283c06e77bedd4b3793657a (patch)
treef44461f50b43e8f904b3491a25b8456c73fd2a21 /src/mesa
parent6d770ce93aacf29940bacb6fe2ae78cf716751dc (diff)
i965/fs: Constant propagate into LOAD_PAYLOAD
Signed-off-by: Jason Ekstrand <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp b/src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp
index 322debf8fc0..e1989cb5e4c 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp
@@ -455,6 +455,7 @@ fs_visitor::try_constant_propagate(fs_inst *inst, acp_entry *entry)
switch (inst->opcode) {
case BRW_OPCODE_MOV:
+ case SHADER_OPCODE_LOAD_PAYLOAD:
inst->src[i] = val;
progress = true;
break;