agx: Don't allow uniform source to local_atomic

Fixes KHR-GLES31.core.compute_shader.atomic-case3

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22353>
This commit is contained in:
Alyssa Rosenzweig 2023-03-11 22:07:18 -05:00 committed by Marge Bot
parent c643f42dc6
commit 8ec91ee16f

View file

@ -40,6 +40,7 @@ should_lower(enum agx_opcode op, agx_index uniform, unsigned src_index)
case AGX_OPCODE_BLOCK_IMAGE_STORE:
case AGX_OPCODE_UNIFORM_STORE:
case AGX_OPCODE_ST_VARY:
case AGX_OPCODE_LOCAL_ATOMIC:
return true;
default:
return false;