vkd3d-shader/dxil: Implement the DXIL VSELECT instruction.

This commit is contained in:
Conor McCarthy
2023-11-09 13:43:34 +10:00
committed by Alexandre Julliard
parent 130e7bdf0f
commit 3c4631a4d4
Notes: Alexandre Julliard 2023-11-15 22:58:28 +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/459
8 changed files with 98 additions and 20 deletions

View File

@@ -11,10 +11,10 @@ float4 main() : sv_target
[test]
uniform 0 float4 0.0 0.0 0.0 0.0
todo(sm>=6) draw quad
draw quad
probe all rgba (0.9, 0.8, 0.7, 0.6)
uniform 0 float4 0.1 0.0 0.0 0.0
todo(sm>=6) draw quad
draw quad
probe all rgba (0.1, 0.2, 0.3, 0.4)
[pixel shader]
@@ -43,7 +43,7 @@ float4 main() : sv_target
[test]
uniform 0 float4 0.0 0.0 0.0 0.0
todo(sm>=6) draw quad
draw quad
probe all rgba (0.9, 0.8, 0.7, 0.6)
[pixel shader fail(sm<6)]