vk: consolidate dynamic descriptor binding sorting
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Tue, 9 Mar 2021 18:49:00 +0000 (13:49 -0500)
committerMarge Bot <eric+marge@anholt.net>
Mon, 22 Mar 2021 16:51:55 +0000 (16:51 +0000)
commitad241b15a9e517dd4c4e8d7b1d5dab7c3a74b37c
tree348aad88ae0aa17f2e79a9a3105395582a47e97e
parentb992b38de6d0f32348d02f96dd9a46197e400be6
vk: consolidate dynamic descriptor binding sorting

this code was duplicated across several drivers

Reviewed-by: Adam Jackson <ajax@redhat.com>
turnip changes Reviewed-by: Hyunjun Ko <zzoon@igalia.com>

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9480>
src/amd/vulkan/radv_descriptor_set.c
src/broadcom/vulkan/v3dv_descriptor_set.c
src/freedreno/vulkan/tu_descriptor_set.c
src/gallium/frontends/lavapipe/lvp_descriptor_set.c
src/vulkan/util/meson.build
src/vulkan/util/vk_descriptors.c [new file with mode: 0644]
src/vulkan/util/vk_descriptors.h [new file with mode: 0644]