vkd3d-shader/dxil: Implement DX intrinsic FAbs.

This commit is contained in:
Conor McCarthy
2023-06-14 23:32:00 +10:00
committed by Alexandre Julliard
parent 33694f08fc
commit 4599d3c1cf
Notes: Alexandre Julliard 2024-03-18 23:25: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/718
5 changed files with 26 additions and 9 deletions

View File

@@ -47,7 +47,7 @@ float4 main() : SV_TARGET
[test]
uniform 0 float4 2.0 0.0 0.0 0.0
todo(sm>=6) draw quad
draw quad
probe all rgba (2.0, 2.0, 2.0, 2.0)
[pixel shader]
@@ -60,7 +60,7 @@ float4 main() : SV_TARGET
[test]
uniform 0 float4 2.0 0.0 0.0 0.0
todo(sm>=6) draw quad
draw quad
probe all rgba (2.0, 2.0, 2.0, 2.0)
[pixel shader fail]