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
device_select_wayland.c
device_select_x11.c
meson.build
VkLayer_MESA_device_select.json