mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-12-15 08:03:30 -08:00
tests/hlsl: Mark a denormalization mode test as todo on Intel.
It behaves the same as llvmpipe.
This commit is contained in:
committed by
Henri Verbeet
parent
124bdae77c
commit
ffbf0320ba
Notes:
Henri Verbeet
2025-11-17 15:29:49 +01:00
Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1831
@@ -506,6 +506,11 @@ static inline bool is_llvmpipe_device(ID3D12Device *device)
|
||||
return false;
|
||||
}
|
||||
|
||||
static inline bool is_intel_device(ID3D12Device *device)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
static inline bool is_nvidia_device(ID3D12Device *device)
|
||||
{
|
||||
return false;
|
||||
@@ -828,6 +833,14 @@ static inline bool is_llvmpipe_device(ID3D12Device *device)
|
||||
return properties.driverID == VK_DRIVER_ID_MESA_LLVMPIPE;
|
||||
}
|
||||
|
||||
static inline bool is_intel_device(ID3D12Device *device)
|
||||
{
|
||||
VkPhysicalDeviceDriverPropertiesKHR properties;
|
||||
|
||||
get_driver_properties(device, NULL, &properties);
|
||||
return properties.driverID == VK_DRIVER_ID_INTEL_OPEN_SOURCE_MESA;
|
||||
}
|
||||
|
||||
static inline bool is_nvidia_device(ID3D12Device *device)
|
||||
{
|
||||
VkPhysicalDeviceDriverPropertiesKHR properties;
|
||||
|
||||
Reference in New Issue
Block a user