diff options
-rw-r--r-- | src/intel/compiler/brw_vec4_copy_propagation.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/intel/compiler/brw_vec4_copy_propagation.cpp b/src/intel/compiler/brw_vec4_copy_propagation.cpp index c1ae32a2936..63155ecdfb0 100644 --- a/src/intel/compiler/brw_vec4_copy_propagation.cpp +++ b/src/intel/compiler/brw_vec4_copy_propagation.cpp @@ -190,6 +190,13 @@ try_constant_propagate(const struct gen_device_info *devinfo, inst->src[arg] = value; return true; + case SHADER_OPCODE_UNTYPED_ATOMIC: + if (arg == 1) { + inst->src[arg] = value; + return true; + } + break; + case SHADER_OPCODE_POW: case SHADER_OPCODE_INT_QUOTIENT: case SHADER_OPCODE_INT_REMAINDER: |