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

This commit is contained in:
Conor McCarthy
2023-11-07 13:11:51 +10:00
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
9 changed files with 197 additions and 24 deletions

View File

@@ -11,7 +11,7 @@ float4 main() : sv_target
[test]
uniform 0 float4 -0.5 6.5 7.5 3.4
todo(sm>=6) draw quad
draw quad
probe all rgba (1912.0, 1657.0, -127.0, 867.0) 1
[pixel shader]
@@ -24,5 +24,5 @@ float4 main() : sv_target
[test]
uniform 0 float4 -0.5 6.5 7.5 3.4
todo(sm>=6) draw quad
draw quad
probe all rgba (-127.0, -127.0, -127.0, -127.0) 1