mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
ir3: Fix valid flags for STIB
Disallow immediates for the source. This was hidden by the fact that we didn't copy-propagate trivial collect instructions. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Rob Clark <robdclark@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10076>
This commit is contained in:
parent
94beaa1d92
commit
dcc26a3945
1 changed files with 1 additions and 0 deletions
|
|
@ -761,6 +761,7 @@ ir3_valid_flags(struct ir3_instruction *instr, unsigned n,
|
|||
*/
|
||||
switch (instr->opc) {
|
||||
case OPC_LDIB:
|
||||
case OPC_STIB:
|
||||
case OPC_LDC:
|
||||
case OPC_RESINFO:
|
||||
if (n != 0)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue