vkd3d-shader/msl: Implement VKD3DSIH_DISCARD.

This commit is contained in:
Henri Verbeet
2025-05-23 16:53:38 +02:00
parent f538085e41
commit 7dfa9e8f81
Notes: Henri Verbeet 2025-06-10 18:06:32 +02:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1554
3 changed files with 33 additions and 13 deletions

View File

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