vkd3d-shader/dxil: Implement DX intrinsic Discard.

This commit is contained in:
Conor McCarthy
2024-03-20 14:54:18 +10:00
committed by Alexandre Julliard
parent 8d947ce868
commit 11ee92ed7e
Notes: Alexandre Julliard 2024-03-27 23:08:24 +01:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/736
3 changed files with 20 additions and 6 deletions

View File

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