microsoft / microsoft/DirectXShaderCompiler
DXC hits SIGSEGV when inner payload is passed to TraceRay
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 3.7k
- Forks
- 900
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 44
Description
Description
When the payload passed to TraceRay is a field from another [raypayload] annotated struct, DXC terminates with SIGSEGV.
I expect DXC to either fail to compile with an actual message or to compile successfully.
Steps to Reproduce
Version where the member is of [raypayload] annotated struct: https://godbolt.org/z/bjdMrT37v
Version where the member is of unannotated struct type: https://godbolt.org/z/vWqWrrn5n
Actual Behavior
See godbolt
Environment
See godbolt
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the two Godbolt reproductions linked in the issue, especially the case where an inner field of a raypayload-annotated struct is passed to TraceRay. Trace the compiler path for this payload form and verify that the result is either a diagnostic or successful compilation, never a SIGSEGV.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100