mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-23 23:30:22 +01:00
freedreno/ir3/cp: fix ldib bug
Something that we didn't hit earlier because of the extra shr.b Signed-off-by: Rob Clark <robdclark@gmail.com> Reviewed-by: Kristian H. Kristensen <hoegsberg@chromium.org>
This commit is contained in:
parent
abfd572bd2
commit
ca11f9263e
1 changed files with 6 additions and 0 deletions
|
|
@ -210,6 +210,12 @@ static bool valid_flags(struct ir3_instruction *instr, unsigned n,
|
|||
|
||||
if (is_atomic(instr->opc) && !(instr->flags & IR3_INSTR_G))
|
||||
return false;
|
||||
|
||||
/* as with atomics, ldib on a6xx can only have immediate for
|
||||
* SSBO slot argument
|
||||
*/
|
||||
if ((instr->opc == OPC_LDIB) && (n != 0))
|
||||
return false;
|
||||
}
|
||||
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue