mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-12-15 08:03:30 -08:00
ci: Run Linux tests on Debian trixie.
So we have a more recent version of SPIRV-Tools and also don't have to recompile Mesa to test llvmpipe. This fixes a few failing tests, but also breaks a couple.
This commit is contained in:
committed by
Henri Verbeet
parent
3f1de27283
commit
3c8b4ce731
Notes:
Henri Verbeet
2025-10-03 00:55:50 +02:00
Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1764
@@ -548,6 +548,11 @@ static inline bool is_mvk_device_lt(ID3D12Device *device, uint32_t major, uint32
|
||||
return false;
|
||||
}
|
||||
|
||||
static inline bool is_mesa_device_with_llvm_ge(ID3D12Device *device, uint32_t major, uint32_t minor, uint32_t patch)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
static inline bool is_macos_lt(unsigned int major, unsigned int minor, unsigned int patch)
|
||||
{
|
||||
return false;
|
||||
@@ -908,6 +913,16 @@ static inline bool is_mvk_device_lt(ID3D12Device *device, uint32_t major, uint32
|
||||
return device_properties.driverVersion < MVK_MAKE_API_VERSION(major, minor, patch);
|
||||
}
|
||||
|
||||
static inline bool is_mesa_device_with_llvm_ge(ID3D12Device *device, uint32_t major, uint32_t minor, uint32_t patch)
|
||||
{
|
||||
VkPhysicalDeviceDriverPropertiesKHR driver_properties;
|
||||
VkPhysicalDeviceProperties device_properties;
|
||||
|
||||
get_driver_properties(device, &device_properties, &driver_properties);
|
||||
return is_mesa_vulkan_driver(&driver_properties)
|
||||
&& compare_version_string_ge(device_properties.deviceName, "LLVM ", 16, 0 ,0);
|
||||
}
|
||||
|
||||
#ifdef __APPLE__
|
||||
|
||||
static inline bool is_macos_lt(unsigned int major, unsigned int minor, unsigned int patch)
|
||||
|
||||
Reference in New Issue
Block a user