mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-12-15 08:03:30 -08:00
vkd3d-shader/msl: Implement VSIR_OP_TAN.
This commit is contained in:
Notes:
Henri Verbeet
2025-09-29 13:05:30 +02:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1753
@@ -13,7 +13,7 @@ float4 main(float tex : texcoord) : sv_target
|
||||
}
|
||||
|
||||
[test]
|
||||
todo(msl & sm>=6) draw quad
|
||||
draw quad
|
||||
probe ( 0, 0) f32( 0.00000000, 1.00000000, 0.00000000, 0.0)
|
||||
probe ( 1, 0) f32( 0.84147098, 0.54030231, 1.55740772, 0.0) 1024
|
||||
probe ( 2, 0) f32( 0.90929743, -0.41614684, -2.18503986, 0.0) 1024
|
||||
@@ -69,7 +69,7 @@ float4 main() : sv_target
|
||||
% tan(pi/2) is an asymtote and therefore undefined
|
||||
% so check 0, pi/4, 3pi/4, pi
|
||||
uniform 0 float4 0.0 0.78539816 2.35619449 3.14159265
|
||||
todo(msl & sm>=6) draw quad
|
||||
draw quad
|
||||
probe (0, 0) f32(0, 1000, -1000.0, 0)
|
||||
|
||||
[pixel shader]
|
||||
|
||||
Reference in New Issue
Block a user