We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Description
fmod with special input get wrong result.
Steps to Reproduce
dxc -Tvs_6_0
RWBuffer<float4> results; [shader("vertex")] void main() { // Explicit float // 0.0, -0.0, NaN, -NaN results[0] = float4(fmod(0.0f, 1.0f), fmod(-0.0f, 1.0f), fmod(5.5f, 0.0f), fmod(-5.5f, 0.0f)); }
Actual Behavior
0.0, 0.0, 0.0, 0.0 is stored into result[0].
Environment
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
fmod with special input get wrong result.
Steps to Reproduce
dxc -Tvs_6_0
Actual Behavior
0.0, 0.0, 0.0, 0.0 is stored into result[0].
Environment
The text was updated successfully, but these errors were encountered: