freedreno/ir3: Add new LDLW/STLW instructions
[mesa.git] / src / freedreno / ir3 / ir3_cp.c
index 704ddf99937c63711cd6f882dd316250ce955a42..d60c1aae49cbae9bd844e11667cd8591c838b523 100644 (file)
@@ -216,6 +216,9 @@ static bool valid_flags(struct ir3_instruction *instr, unsigned n,
                        if ((instr->opc == OPC_STL) && (n != 2))
                                return false;
 
+                       if (instr->opc == OPC_STLW && n == 0)
+                               return false;
+
                        /* disallow CP into anything but the SSBO slot argument for
                         * atomics:
                         */