tests/shader_runner_metal: Run the Metal shader runner with DXIL shaders.

This commit is contained in:
Giovanni Mascellani
2025-07-14 22:22:04 +02:00
committed by Henri Verbeet
parent d898923b1c
commit 3817df1164
Notes: Henri Verbeet 2025-08-04 15:08:24 +02:00
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1619
87 changed files with 501 additions and 483 deletions

View File

@@ -43,7 +43,7 @@ float4 main() : SV_TARGET
[test]
uniform 0 float4 42.0 5.0 0.0 0.0
draw quad
todo(msl & sm>=6) draw quad
probe (0, 0) rgba (2.0, -2.0, 2.0, -2.0) 16
@@ -59,7 +59,7 @@ float4 main() : SV_TARGET
[test]
uniform 0 float4 45.0 5.0 0.0 0.0
draw quad
todo(msl & sm>=6) draw quad
probe (0, 0) rgba (0.0, 0.0, 0.0, 0.0)
@@ -74,7 +74,7 @@ float4 main() : sv_target
[test]
uniform 0 float4 5.0 -42.1 4.0 45.0
uniform 4 float4 15.0 -5.0 4.1 5.0
draw quad
todo(msl & sm>=6) draw quad
probe (0, 0) rgba (5.0, -2.1, 4.0, 0.0) 6
@@ -124,7 +124,7 @@ float4 main() : sv_target
uniform 0 float4 1.00000007 -42.1 4.0 45.0
uniform 4 float4 1.625 -5.0 4.125 5.0
uniform 8 float4 1.00000007 -1.0 0.5 -0.5
draw quad
todo(msl & sm>=6) draw quad
probe (0, 0) rgba (2.62500048, 209.5, 17.0, 224.5) 1
[require]
@@ -279,7 +279,7 @@ if(sm>=6) uniform 0 uint 0
if(sm>=6) uniform 4 uint 0
if(sm>=6) uniform 8 uint 0x4180
if(sm>=6) uniform 12 uint 0x4180
draw quad
todo(msl & sm>=6) draw quad
todo(sm>=6) probe (0, 0) rgba(-1.5, 65.0, 1.25, 67.75)
[pixel shader]
@@ -327,7 +327,7 @@ if(sm>=6) uniform 0 uint 0xc100
if(sm>=6) uniform 4 uint 0x4300
if(sm>=6) uniform 8 uint 0x3800
if(sm>=6) uniform 12 uint 0xc480
draw quad
todo(msl & sm>=6) draw quad
todo(sm>=6) probe (0, 0) rgba(3.75, 19.25, -0.75, -24.75)
[pixel shader]
@@ -348,7 +348,7 @@ if(sm>=6) uniform 0 uint 0x4280
if(sm>=6) uniform 4 uint 0xe3ff
if(sm>=6) uniform 8 uint 0xc780
if(sm>=6) uniform 12 uint 0x3000
draw quad
todo(msl & sm>=6) draw quad
% The computation is potentially done in f16, but ULPs are relative to the f32 result.
todo(sm>=6) probe (0, 0) rgba (0.004962, 2047.0, -0.011451, -0.25) 8192