zink: add a "compact" descriptor mode
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Mon, 16 May 2022 21:28:59 +0000 (17:28 -0400)
committerMarge Bot <emma+marge@anholt.net>
Wed, 25 May 2022 04:01:56 +0000 (04:01 +0000)
commit8636717270f1ecd7d6a99f165f99b201c20dbf80
treeb671e02ba02abd9bc420de7e90a1cde192b63e50
parent0adf2dc875b4bb90d19da5399c61c1cd9435df46
zink: add a "compact" descriptor mode

this compacts the ubo+ssbo and samplerview+image sets, enabling zink
to run fully featured with only 4 descriptor sets used

fixes #4964

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16645>
src/gallium/drivers/zink/zink_descriptors.c
src/gallium/drivers/zink/zink_descriptors.h
src/gallium/drivers/zink/zink_descriptors_lazy.c
src/gallium/drivers/zink/zink_screen.c
src/gallium/drivers/zink/zink_screen.h