mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/dxil: Implement the DXIL CAST instruction.
This commit is contained in:
committed by
Alexandre Julliard
parent
bd77cbb33f
commit
90d178bf12
Notes:
Alexandre Julliard
2023-11-10 00:09:32 +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/436
@@ -18,7 +18,7 @@ float4 main() : sv_target
|
||||
|
||||
[test]
|
||||
uniform 0 float4 -1.9 -1.0 2.9 4.0
|
||||
todo draw quad
|
||||
todo(sm<6) draw quad
|
||||
probe all rgba (-1.0, -1.0, 2.0, 4.0)
|
||||
|
||||
% As above, but cast "x" to float4 first.
|
||||
@@ -89,5 +89,5 @@ float4 main() : sv_target
|
||||
|
||||
[test]
|
||||
uniform 0 int4 -2 0 1 -3000000
|
||||
todo draw quad
|
||||
todo(sm<6) draw quad
|
||||
probe all rgba (-1.0, 0.0, 1.0, -3000000.0)
|
||||
|
Reference in New Issue
Block a user