agx: fix corner with uniform source lowering
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31532>
This commit is contained in:
committed by
Marge Bot
parent
d0b0485b6c
commit
4e8f4bc4b0
@@ -61,6 +61,10 @@ agx_instr_accepts_uniform(enum agx_opcode op, unsigned src_index,
|
||||
case AGX_OPCODE_FCMP_QUAD_BALLOT:
|
||||
case AGX_OPCODE_ICMP_QUAD_BALLOT:
|
||||
return false;
|
||||
case AGX_OPCODE_EXPORT:
|
||||
case AGX_OPCODE_PHI:
|
||||
/* We would fail validation otherwise */
|
||||
return true;
|
||||
default:
|
||||
return !is_64;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user