vulkan: Add a generated vk_properties struct
authorKonstantin Seurer <konstantin.seurer@gmail.com>
Mon, 7 Aug 2023 17:04:15 +0000 (19:04 +0200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 11 Aug 2023 02:53:47 +0000 (02:53 +0000)
commiteaee792ea5f9e4e6e77f1399ed2a677ed5b0912c
tree47211715d85695f3e13fee197c677fbc67c3ed81
parent0ab0e5d803e1a48ae434763fbdf34a33772f8bba
vulkan: Add a generated vk_properties struct

Generates a physical device properties table to avoid dealing with pNext
chains in the driver. Based on vk_features.

Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24575>
16 files changed:
src/amd/vulkan/radv_physical_device.c
src/broadcom/vulkan/v3dv_device.c
src/freedreno/vulkan/tu_device.cc
src/gallium/frontends/lavapipe/lvp_device.c
src/imagination/vulkan/pvr_device.c
src/intel/vulkan/anv_device.c
src/intel/vulkan_hasvk/anv_device.c
src/microsoft/vulkan/dzn_device.c
src/nouveau/vulkan/nvk_physical_device.c
src/panfrost/vulkan/panvk_device.c
src/virtio/vulkan/vn_common.h
src/vulkan/runtime/meson.build
src/vulkan/runtime/vk_physical_device.c
src/vulkan/runtime/vk_physical_device.h
src/vulkan/util/meson.build
src/vulkan/util/vk_physical_device_properties_gen.py [new file with mode: 0644]