Skip to content
New issue

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

[DXIL] Null pointer exception due to double floating-point literals in fmod intrinsic (in 1.8.2403 release) #6419

Closed
damyanp opened this issue Mar 14, 2024 · 1 comment · Fixed by #6418
Assignees
Labels
rca Candidate for a root cause analysis discussion sm6.8 Shader Model 6.8

Comments

@damyanp
Copy link
Member

damyanp commented Mar 14, 2024

This issue tracks #6410, but specifically in the release branch. See the main issue for full information.

@damyanp damyanp added this to the Release 1.8.2403.1 milestone Mar 14, 2024
tex3d added a commit that referenced this issue Mar 14, 2024
… (#6342)" (#6418)

This file deleted with conflicts from subsequent changes:
  tools/clang/test/LitDXILValidation/illegalDXILOp.ll

This reverts commit 487080f.

Fixes #6419.
@damyanp damyanp added the rca Candidate for a root cause analysis discussion label Mar 15, 2024
tex3d added a commit that referenced this issue Mar 21, 2024
Certain HL ops with no double overload will generate double overloads
for literal types. These are lowered to double DXIL overloads, some of
which are not legal for these ops. We currently rely on illegal
intermediate DXIL op overloads for constant evaluation. If constant
evaluation fails, we end up with illegal DXIL overloads in final DXIL,
which is caught by the validator.

The prior revert restored the ability to run these scenarios (with
asserts disabled).

This change adds tests for #6419 so automated testing will test across
configurations and prevent regressions of this scenario in this branch.
@damyanp
Copy link
Member Author

damyanp commented Mar 22, 2024

Fixed by #6418

@damyanp damyanp closed this as completed Mar 22, 2024
@pow2clk pow2clk added the sm6.8 Shader Model 6.8 label Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rca Candidate for a root cause analysis discussion sm6.8 Shader Model 6.8
Projects
Status: Done
3 participants