tests: Add llvmpipe among the Mesa drivers.

This commit is contained in:
Giovanni Mascellani 2024-04-05 23:08:35 +02:00 committed by Alexandre Julliard
parent ecd38f3d1b
commit 59a5d8f852
Notes: Alexandre Julliard 2024-04-11 17:03:42 -05:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/765

View File

@ -654,6 +654,7 @@ static inline bool is_mesa_device(ID3D12Device *device)
get_driver_properties(device, NULL, &properties); get_driver_properties(device, NULL, &properties);
return properties.driverID == VK_DRIVER_ID_MESA_RADV_KHR return properties.driverID == VK_DRIVER_ID_MESA_RADV_KHR
|| properties.driverID == VK_DRIVER_ID_MESA_LLVMPIPE
|| properties.driverID == VK_DRIVER_ID_INTEL_OPEN_SOURCE_MESA_KHR; || properties.driverID == VK_DRIVER_ID_INTEL_OPEN_SOURCE_MESA_KHR;
} }