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:
committed by
Kristian H. Kristensen
parent
abfd572bd2
commit
ca11f9263e
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user