ir3: Immediate source for stc is invalid
For some reason some CTS tests are hitting this after removing the single-source collect. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22075>
This commit is contained in:
@@ -1322,6 +1322,9 @@ ir3_valid_flags(struct ir3_instruction *instr, unsigned n, unsigned flags)
|
||||
if (instr->opc == OPC_LDG_A && (n < 2))
|
||||
return false;
|
||||
|
||||
if (instr->opc == OPC_STC && n != 0)
|
||||
return false;
|
||||
|
||||
/* as with atomics, these cat6 instrs can only have an immediate
|
||||
* for SSBO/IBO slot argument
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user