From 29f4c5b5d5d142f19283c06e77bedd4b3793657a Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Wed, 24 Sep 2014 14:51:22 -0700 Subject: i965/fs: Constant propagate into LOAD_PAYLOAD Signed-off-by: Jason Ekstrand Reviewed-by: Matt Turner --- src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mesa') 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; -- cgit v1.2.3