Skip to content

d3dcompiler/tests: Avoid precision issues in the trigonometry tests.

Matteo Bruni requested to merge Mystral/wine:mr/hlsl_d3d9-fix into master

Previously, depending on how the sin() was calculated, we could get a small number or exactly 0, which unfortunately can be pretty far between in terms of ULPs. We don't really want to test edge-case accuracy with trig functions in the first place, so just nudge the angle away from exact values.

Merge request reports

Loading