[Mesa-dev] [PATCH 39.1/41] i965/fs: Constant propagate into LOAD_PAYLOAD
Jason Ekstrand
jason at jlekstrand.net
Fri Sep 26 12:24:56 PDT 2014
---
src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp | 1 +
1 file changed, 1 insertion(+)
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 7dfed6e..6b7ec79 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp
@@ -456,6 +456,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;
--
2.1.0
More information about the mesa-dev
mailing list