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

@@ -19,7 +19,7 @@ float4 main() : sv_target
[test]
uniform 0 float4 -1.9 -1.0 2.9 4.0
draw quad
probe (0, 0) rgba (-1.0, -1.0, 2.0, 4.0)
todo(msl & sm>=6) probe (0, 0) f32(-1.0, -1.0, 2.0, 4.0)
% As above, but cast "x" to float4 first.
% In SM 6 a cast seems to implicitly promote the type to const,
@@ -89,7 +89,7 @@ float4 main() : sv_target
if(sm<4) uniform 0 float4 -2 0 1 -3000000
if(sm>=4) uniform 0 int4 -2 0 1 -3000000
draw quad
probe (0, 0) rgba (-1.0, 0.0, 1.0, -3000000.0) 4
todo(msl & sm>=6) probe (0, 0) f32(-1.0, 0.0, 1.0, -3000000.0) 4
% An explicit cast gets applied right before assignment, as if it was on the lhs.