microsoft / microsoft/DirectXShaderCompiler
[SPIR-V] `-fspv-debug=vulkan-with-source` SIGSEGVs compiler
Open
Nobody has claimed this yet.
bug
spirv
- Dominant language
- C++
- Stars
- 3.7k
- Forks
- 900
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 44
Description
Description
Just a vanilla shader, with no BDA, descriptor indexing and the like.
Steps to Reproduce
This godbolt, its quite large: https://godbolt.org/z/qYn75xr1n
Actual Behavior
SIGSEGV
Environment
- DXC version: DXC (trunk) on godbolt without any of our own modifications
- Host Operating System: Godbolt/Linux I guess?
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 with the linked Godbolt reproducer and run DXC trunk using -fspv-debug=vulkan-with-source to reproduce the SIGSEGV. Trace the compiler failure in the SPIR-V path; the issue is done when this vanilla shader no longer crashes.
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
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100