mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
tests/shader_runner_metal: Run the Metal shader runner with DXIL shaders.
This commit is contained in:
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
@@ -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.
|
||||
|
Reference in New Issue
Block a user