intel/fs: FS_OPCODE_REP_FB_WRITE has side effects
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 17 May 2018 00:51:10 +0000 (17:51 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 28 Jun 2018 20:19:38 +0000 (13:19 -0700)
It doesn't matter since we don't ever run replicated write shaders
through the optimizer but it's good to be complete.

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/intel/compiler/brw_shader.cpp

index b7fb06ddbd9cd523344e767dbd750a3462ff7cc8..175378c385e4e97b61fa9d6d181b4026115b5b79 100644 (file)
@@ -1013,6 +1013,7 @@ backend_instruction::has_side_effects() const
    case SHADER_OPCODE_URB_WRITE_SIMD8_MASKED_PER_SLOT:
    case FS_OPCODE_FB_WRITE:
    case FS_OPCODE_FB_WRITE_LOGICAL:
+   case FS_OPCODE_REP_FB_WRITE:
    case SHADER_OPCODE_BARRIER:
    case TCS_OPCODE_URB_WRITE:
    case TCS_OPCODE_RELEASE_INPUT: