mesa/src/vulkan/device-select-layer
Witold Baryluk f93b7d14d6 vulkan/device_select: Store Vulkan vendorID and deviceID as uint32_t
Vulkan uses 32-bit IDs, compared to PCI/USB 16-bit ones.

Some driver vendorIDs do exceed 0xffff, including MESA (used by lavapipe).

Without this, the value will be truncated, and device select layer
will not match expected (or any) device.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3935
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7977>
2020-12-08 16:19:25 +00:00
..
device_select.h vulkan/device_select: Store Vulkan vendorID and deviceID as uint32_t 2020-12-08 16:19:25 +00:00
device_select_layer.c vulkan/device_select: don't pick a cpu driver as the default 2020-09-07 07:12:23 +00:00
device_select_wayland.c
device_select_x11.c
meson.build vulkan: add missing src_inc to the device select layer 2020-12-02 07:44:10 +01:00
VkLayer_MESA_device_select.json