microsoft / microsoft/DirectXShaderCompiler
[SPIR-V] Internal compiler error for mesh shader with nested struct inside output
Open
@s-perron is already working on this.
Since May 9, 2025.
bug
spirv
- Dominant language
- C++
- Stars
- 3.7k
- Forks
- 900
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 44
Description
Description
The attached shader causes an ICE in DXC.
Steps to Reproduce
dxc.exe -spirv -fspv-target-env=vulkan1.3 -T ms_6_6 mesh_shader.hlsl
Actual Behavior
Internal compiler error: access violation. Attempted to read from address 0x0000000000000000
Environment
- DXC version: dxcompiler.dll: 1.8 - 1.8.2502.8 (b4711839e); dxil.dll: 1.8(1.8.2502.8)
- Host Operating System: Windows 11
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.
Assessment
This issue has not been assessed yet.