agx: Check that we don't push too much
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Sun, 25 Sep 2022 23:26:58 +0000 (19:26 -0400)
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>
Sat, 22 Oct 2022 18:59:32 +0000 (14:59 -0400)
commit2d63864e030c927857df7f57dde716f27aa29f50
treebfbf5352cd5397a13140b2a324902d44684b2d9e
parentc74d6c4f9e0a4a03499784663656966fa9c95040
agx: Check that we don't push too much

Currently we don't have a good mechanism for this other than being
careful... assert() at least. The long term plan is to lift the
UBO/VBO lowerings into NIR, making the sysval requirements visible in
the NIR. (And possibly moving to a descriptor set model to better match
Vulkan? I need to talk to jekstrand about what we want to do here long
term.)

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18813>
src/asahi/compiler/agx_uniforms.c