tests/shader_runner: Introduce a Metal shader runner.

This commit is contained in:
Feifan He
2024-10-21 22:23:27 +08:00
committed by Henri Verbeet
parent da75582a14
commit b0646cb427
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
176 changed files with 1154 additions and 992 deletions

View File

@@ -9,20 +9,20 @@ float4 main() : sv_target
[test]
uniform 0 float4 1 2 3 4
todo(glsl) draw quad
todo(glsl | msl) draw quad
probe (0, 0) rgba (1, 2, 3, 4)
uniform 0 float4 9 8 7 6
todo(glsl) draw quad
todo(glsl | msl) draw quad
probe (0, 0) rgba (9, 8, 7, 6)
uniform 0 float4 -1 8 7 6
todo(glsl) draw quad
todo(glsl | msl) draw quad
probe (0, 0) rgba (9, 8, 7, 6)
uniform 0 float4 9 0 7 6
todo(glsl) draw quad
todo(glsl | msl) draw quad
probe (0, 0) rgba (9, 0, 7, 6)
uniform 0 float4 3 -8 3 0
todo(glsl) draw quad
todo(glsl | msl) draw quad
probe (0, 0) rgba (9, 0, 7, 6)
uniform 0 float4 3 3 3 -1
todo(glsl) draw quad
todo(glsl | msl) draw quad
probe (0, 0) rgba (9, 0, 7, 6)