zink: decouple descriptor templates from layouts
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 13 Apr 2022 14:20:00 +0000 (10:20 -0400)
committerMarge Bot <emma+marge@anholt.net>
Tue, 10 May 2022 05:55:55 +0000 (05:55 +0000)
commitb0324d2479108aa2fbfdae24a2118b2a66c99044
tree02985ac137c465d4345df8041911fc502d5f351f
parentc0c69b1be15ece82798d21dd561cf0aa5d3da750
zink: decouple descriptor templates from layouts

the same layout will in the future have multiple templates
depending on which resources are being updated

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