mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
i965/fs: Constant propagate into LOAD_PAYLOAD
Signed-off-by: Jason Ekstrand <jason.ekstrand@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
6d770ce93a
commit
29f4c5b5d5
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue