Skip to content

vkd3d-shader/hlsl: Implement sincos.

Petrichor Park requested to merge petrathekat/vkd3d:impl-sincos into master

Another intrinsic we are missing.

I implemented this as just doing a sin and cos operation. Flattening this to one sincos opcode should probably be done in our folding/optimization steps and is probably orthogonal to this MR.

Native behavior does not return very precise results, which is why the ulps are so big on the tests.

Merge request reports

Loading