nvk: Add some asserts for nv50 compiler image restrictions
authorFaith Ekstrand <faith.ekstrand@collabora.com>
Tue, 31 Jan 2023 02:11:56 +0000 (20:11 -0600)
committerMarge Bot <emma+marge@anholt.net>
Fri, 4 Aug 2023 21:31:58 +0000 (21:31 +0000)
commit6f702f99395bba1d46d388914a3807fc26f1392a
tree30d72f01dd3f99e22507f117c7d2714f0e57b157
parentc36ee41fdb25d2e67cfa0dba823a5818a62414b0
nvk: Add some asserts for nv50 compiler image restrictions

These just ensure that we assert instead of doing something that the
nv50 compiler is likely to screw up.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
src/nouveau/vulkan/nvk_descriptor_set.c
src/nouveau/vulkan/nvk_nir_lower_descriptors.c