vulkan: add initial device selection layer. (v6.1)

Graphics / Mesa 3D Graphics Library / Mesa - Dave Airlie [redhat.com] - 27 April 2020 19:57 EDT

This is code Bas has out of tree but I think mesa should be shipping it, and I've improved it.

9bc5b2d169d vulkan: add initial device selection layer. (v6.1)
meson_options.txt | 6 +
.../VkLayer_MESA_device_select.json | 17 +
src/vulkan/device-select-layer/device_select.h | 47 ++
.../device-select-layer/device_select_layer.c | 483 +++++++++++++++++++++
.../device-select-layer/device_select_wayland.c | 147 +++++++
src/vulkan/device-select-layer/device_select_x11.c | 118 +++++
src/vulkan/device-select-layer/meson.build | 54 +++
src/vulkan/meson.build | 3 +
8 files changed, 875 insertions(+)

Upstream: cgit.freedesktop.org


  • Share