agx: forbid uniforms on ballots

needs more investigation..

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29179>
This commit is contained in:
Alyssa Rosenzweig 2024-04-23 18:15:56 -04:00 committed by Marge Bot
parent c2c49b261c
commit 00cfe84fd9

View file

@ -53,6 +53,12 @@ agx_instr_accepts_uniform(enum agx_opcode op, unsigned src_index,
case AGX_OPCODE_ITERPROJ:
case AGX_OPCODE_STACK_LOAD:
case AGX_OPCODE_STACK_STORE:
case AGX_OPCODE_BALLOT:
case AGX_OPCODE_FCMP_BALLOT:
case AGX_OPCODE_ICMP_BALLOT:
case AGX_OPCODE_QUAD_BALLOT:
case AGX_OPCODE_FCMP_QUAD_BALLOT:
case AGX_OPCODE_ICMP_QUAD_BALLOT:
return false;
default:
return !is_64;