mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
tests/shader_runner: Introduce a Metal shader runner.
This commit is contained in:
Notes:
Henri Verbeet
2024-10-31 16:58:27 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1205
@@ -32,15 +32,15 @@ float4 main(float2 coord : texcoord) : sv_target
|
||||
|
||||
[test]
|
||||
uniform 0 float4 6.5 0.0 0.0 0.0
|
||||
todo(sm<4) draw quad
|
||||
todo(sm<4 | msl) draw quad
|
||||
probe (0, 0) rgba (10.0, 0.0, 10.0, 0.0)
|
||||
|
||||
uniform 0 float4 7.5 0.0 0.0 0.0
|
||||
todo(sm<4) draw quad
|
||||
todo(sm<4 | msl) draw quad
|
||||
probe (0, 0) rgba (4.0, 0.0, 10.0, 0.0)
|
||||
|
||||
uniform 0 float4 8.5 0.0 0.0 0.0
|
||||
todo(sm<4) draw quad
|
||||
todo(sm<4 | msl) draw quad
|
||||
probe (0, 0) rgba (0.0, 0.0, 10.0, 0.0)
|
||||
|
||||
[require]
|
||||
@@ -60,13 +60,13 @@ float4 main(float2 coord : texcoord) : sv_target
|
||||
|
||||
[test]
|
||||
uniform 0 float4 6.5 0.0 0.0 0.0
|
||||
draw quad
|
||||
todo(msl) draw quad
|
||||
probe (0, 0) rgba (10.0, 0.0, 10.0, 0.0)
|
||||
|
||||
uniform 0 float4 7.5 0.0 0.0 0.0
|
||||
draw quad
|
||||
todo(msl) draw quad
|
||||
todo(sm<4) probe (0,0) rgba (4.0, 0.0, 10.0, 0.0)
|
||||
|
||||
uniform 0 float4 8.5 0.0 0.0 0.0
|
||||
draw quad
|
||||
todo(msl) draw quad
|
||||
todo(sm<4) probe (0,0) rgba (0.0, 0.0, 10.0, 0.0)
|
||||
|
Reference in New Issue
Block a user