mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
ir3: Also don't propagate immediate offset with LDC
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4358>
This commit is contained in:
parent
de7d90ef53
commit
1842961e58
1 changed files with 3 additions and 3 deletions
|
|
@ -244,10 +244,10 @@ static bool valid_flags(struct ir3_instruction *instr, unsigned n,
|
|||
if (instr->opc == OPC_STG && (instr->flags & IR3_INSTR_G) && (n != 2))
|
||||
return false;
|
||||
|
||||
/* as with atomics, ldib on a6xx can only have immediate for
|
||||
* SSBO slot argument
|
||||
/* as with atomics, ldib and ldc on a6xx can only have immediate
|
||||
* for SSBO slot argument
|
||||
*/
|
||||
if ((instr->opc == OPC_LDIB) && (n != 0))
|
||||
if ((instr->opc == OPC_LDIB || instr->opc == OPC_LDC) && (n != 0))
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue