mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
tests/shader_runner: Explicitly require UAV load support.
The used UAV formats are explicitly added in the [require] section of every test that uses them. Some of these tests were failing on Intel UHD graphics 770 because of missing support for additional UAV load types, explicitly requiring these formats allows these tests to be skipped.
This commit is contained in:
committed by
Henri Verbeet
parent
fb153bf5d4
commit
b701f8d393
Notes:
Henri Verbeet
2024-08-22 16:43:21 +02:00
Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/991
@@ -1,5 +1,6 @@
|
||||
[require]
|
||||
shader model >= 6.0
|
||||
format r32g32b32a32-float uav-load
|
||||
|
||||
[uav 0]
|
||||
format r32-float
|
||||
@@ -17,7 +18,8 @@ RWTexture2D<float4> u : register(u1);
|
||||
|
||||
float4 main() : sv_target
|
||||
{
|
||||
/* Unlike SM < 6.0, all four components are not required to be written in a single statement. */
|
||||
/* Unlike SM < 6.0, all four components are not required to be written in a single statement.
|
||||
* but this requires Typed UAV Load Additional Formats. */
|
||||
u[uint2(0, 0)].xy = float2(1, 2);
|
||||
u[uint2(0, 0)].zw = float2(3, 4);
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user