zink: flatten out ssbo/ubo variable decls in ntv
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 2 Dec 2020 17:22:51 +0000 (12:22 -0500)
committerMarge Bot <eric+marge@anholt.net>
Thu, 28 Jan 2021 14:34:28 +0000 (14:34 +0000)
commit7e5c4b4da311f5314e3ecb72a52414b3e375faf3
tree987278959cd5754801d5c4e6fc3a32909a7877a7
parent388f43c036430367e2c6a546494e51378327fcea
zink: flatten out ssbo/ubo variable decls in ntv

we were using a system of block=array<uvec4> here, but we can really
just simplify this to block=array<uint> to make all the related code much
simpler

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8628>
src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c