zink: split off descriptor layout from descriptor pools
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Tue, 5 Jan 2021 19:36:22 +0000 (14:36 -0500)
committerMarge Bot <eric+marge@anholt.net>
Fri, 7 May 2021 01:50:11 +0000 (01:50 +0000)
commit7d9b6b071a8db194c0bcb72bd15026737558586f
tree9c9318bc2d2be0bbbb5cd862182d32c93b881763
parentd4d3328b9529d87eb1c62d08ce554246af7249b1
zink: split off descriptor layout from descriptor pools

in theory we could have multiple pools per layout, but really it just makes
more sense to make the layouts persistent since they're more likely to be
reused

32bit compile fixes by Witold Baryluk

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