vkd3d-shader/msl: Implement VSIR_OP_ACOS.

This commit is contained in:
Henri Verbeet
2025-09-22 17:30:04 +02:00
parent ab54fc7b29
commit b2aac30430
Notes: Henri Verbeet 2025-09-30 17:26:19 +02:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1759
2 changed files with 13 additions and 10 deletions

View File

@@ -13,24 +13,24 @@ float4 main() : sv_target
[test]
uniform 0 float4 -1.0 0.0 0.0 0.0
todo(msl & sm>=6) draw quad
probe (0, 0) rgba (3.14159274, 0.0, 0.0, 0.0) 128
draw quad
probe (0, 0) f32(3.14159274, 0.0, 0.0, 0.0) 128
uniform 0 float4 -0.5 0.0 0.0 0.0
todo(msl & sm>=6) draw quad
probe (0, 0) rgba (2.094441441, 0.0, 0.0, 0.0) 256
draw quad
probe (0, 0) f32(2.094441441, 0.0, 0.0, 0.0) 256
uniform 0 float4 0.0 0.0 0.0 0.0
todo(msl & sm>=6) draw quad
probe (0, 0) rgba (1.57072878, 0.0, 0.0, 0.0) 1024
draw quad
probe (0, 0) f32(1.57072878, 0.0, 0.0, 0.0) 1024
uniform 0 float4 0.5 0.0 0.0 0.0
todo(msl & sm>=6) draw quad
probe (0, 0) rgba (1.04715133, 0.0, 0.0, 0.0) 512
draw quad
probe (0, 0) f32(1.04715133, 0.0, 0.0, 0.0) 512
uniform 0 float4 1.0 0.0 0.0 0.0
todo(msl & sm>=6) draw quad
probe (0, 0) rgba (0.0, 0.0, 0.0, 0.0) 128
draw quad
probe (0, 0) f32(0.0, 0.0, 0.0, 0.0) 128
[pixel shader]
uniform float4 a;