intel/fs/gen12: Fixup/simplify SWSB annotations of SIMD32 scratch writes.
[mesa.git] / src / intel / compiler / brw_nir_attribute_workarounds.c
index 55a3b3e454696154973485a65fe90f18c557f793..ecd0f0752b0a2798ae7d562eb4e1290212d79194 100644 (file)
@@ -80,7 +80,7 @@ apply_attr_wa_block(nir_block *block, struct attr_wa_state *state)
 
       /* Apply BGRA swizzle if required. */
       if (wa_flags & BRW_ATTRIB_WA_BGRA) {
-         val = nir_swizzle(b, val, (unsigned[4]){2,1,0,3}, 4, true);
+         val = nir_swizzle(b, val, (unsigned[4]){2,1,0,3}, 4);
       }
 
       if (wa_flags & BRW_ATTRIB_WA_NORMALIZE) {