mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-12-15 08:03:30 -08:00
tests: Remove is_mesa_intel_device().
It is never used.
This commit is contained in:
committed by
Henri Verbeet
parent
b7b62c9f03
commit
1ac58e58e6
Notes:
Henri Verbeet
2025-10-06 19:48:45 +02:00
Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1768
@@ -496,11 +496,6 @@ static inline bool is_mesa_device_lt(ID3D12Device *device, uint32_t major, uint3
|
||||
return false;
|
||||
}
|
||||
|
||||
static inline bool is_mesa_intel_device(ID3D12Device *device)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
static inline bool is_llvmpipe_device(ID3D12Device *device)
|
||||
{
|
||||
return false;
|
||||
@@ -811,14 +806,6 @@ static inline bool is_mesa_device_lt(ID3D12Device *device, uint32_t major, uint3
|
||||
&& !is_vulkan_driver_version_ge(&device_properties, &driver_properties, major, minor, patch);
|
||||
}
|
||||
|
||||
static inline bool is_mesa_intel_device(ID3D12Device *device)
|
||||
{
|
||||
VkPhysicalDeviceDriverPropertiesKHR properties;
|
||||
|
||||
get_driver_properties(device, NULL, &properties);
|
||||
return properties.driverID == VK_DRIVER_ID_INTEL_OPEN_SOURCE_MESA_KHR;
|
||||
}
|
||||
|
||||
static inline bool is_llvmpipe_device(ID3D12Device *device)
|
||||
{
|
||||
VkPhysicalDeviceDriverPropertiesKHR properties;
|
||||
|
||||
Reference in New Issue
Block a user