vkd3d-shader/dxil: Implement DX intrinsics Cos and Sin.

This commit is contained in:
Conor McCarthy
2023-06-14 23:11:21 +10:00
committed by Alexandre Julliard
parent d7ffdd7340
commit 2a260b8d56
Notes: Alexandre Julliard 2024-01-25 23:10:02 +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/595
2 changed files with 28 additions and 2 deletions

View File

@@ -42,7 +42,7 @@ float4 main() : sv_target
[test]
uniform 0 float4 0.0 0.52359877 2.61799387 3.14159265
todo(sm<4 | sm>=6) draw quad
todo(sm<4) draw quad
probe all rgba (0.0, 500.0, 500.0, 0.0)
@@ -56,7 +56,7 @@ float4 main() : sv_target
[test]
uniform 0 float4 0.0 0.78539816 1.57079632 2.35619449
todo(sm<4 | sm>=6) draw quad
todo(sm<4) draw quad
probe all rgba (1000.0, 707.0, -0.0, -707.0)