vkd3d-shader/dxil: Implement DX intrinsic Unary.

This commit is contained in:
Conor McCarthy
2023-11-27 13:29:14 +10:00
committed by Alexandre Julliard
parent cc5e703802
commit a33a9127ca
Notes: Alexandre Julliard 2023-12-07 22:47:27 +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/497
16 changed files with 185 additions and 44 deletions

View File

@@ -8,17 +8,17 @@ float4 main() : sv_target
[test]
uniform 0 float4 -0.1 10.0 0.0 0.0
todo(sm>=6) draw quad
draw quad
probe all rgba (1.0, 0.0, 0.0, 1.0)
[test]
uniform 0 float4 1.2 -0.1 0.0 0.0
todo(sm>=6) draw quad
draw quad
probe all rgba (1.0, 1.2, 0.0, 1.0)
[test]
uniform 0 float4 1.2 2.0 3.0 0.0
todo(sm>=6) draw quad
draw quad
probe all rgba (1.0, 1.2, 8.0, 1.0)
[pixel shader]
@@ -31,7 +31,7 @@ float4 main() : sv_target
[test]
uniform 0 float4 1.2 2.0 3.0 0.0
todo(sm>=6) draw quad
draw quad
probe all rgba (2.0, 2.4, 16.0, 2.0)
[pixel shader fail]