mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/dxil: Implement the DXIL VSELECT instruction.
This commit is contained in:
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
@@ -19,13 +19,13 @@ float4 main() : sv_target
|
||||
|
||||
[test]
|
||||
uniform 0 uint4 3 0 0 0
|
||||
todo(sm>=6) draw quad
|
||||
draw quad
|
||||
probe all rgba (5.0, 5.0, 5.0, 5.0)
|
||||
uniform 0 uint4 1 0 0 0
|
||||
todo(sm>=6) draw quad
|
||||
draw quad
|
||||
probe all rgba (4.0, 4.0, 4.0, 4.0)
|
||||
uniform 0 uint4 0 0 0 0
|
||||
todo(sm>=6) draw quad
|
||||
draw quad
|
||||
probe all rgba (3.0, 3.0, 3.0, 3.0)
|
||||
|
||||
% falling through is only supported for empty case statements
|
||||
@@ -49,13 +49,13 @@ float4 main() : sv_target
|
||||
|
||||
[test]
|
||||
uniform 0 uint4 2 0 0 0
|
||||
todo(sm>=6) draw quad
|
||||
draw quad
|
||||
probe all rgba (1.0, 2.0, 3.0, 4.0)
|
||||
uniform 0 uint4 1 0 0 0
|
||||
todo(sm>=6) draw quad
|
||||
draw quad
|
||||
probe all rgba (1.1, 2.0, 3.0, 4.0)
|
||||
uniform 0 uint4 0 0 0 0
|
||||
todo(sm>=6) draw quad
|
||||
draw quad
|
||||
probe all rgba (1.1, 2.0, 3.0, 4.0)
|
||||
|
||||
% case value evaluation
|
||||
|
Reference in New Issue
Block a user