Skip to content

[SPIR-V] Internal compiler error for mesh shader with nested struct inside output #7340

Open

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

mesh_shader.hlsl.txt

Actual Behavior
Internal compiler error: access violation. Attempted to read from address 0x0000000000000000

Environment

  • DXC version: dxcompiler.dll: 1.8 - 1.8.2502.8 (b471183); dxil.dll: 1.8(1.8.2502.8)
  • Host Operating System: Windows 11

Activity

  1. added
    bug
    needs-triage
    spirv
    on Apr 12, 2025
  2. apollo-2006 commented on Sep 29, 2026

    @apollo-2006
    Contributor

    Hi Steven Perron (@s-perron), I ran into this one (and its duplicate #8475) while looking at mesh shader issues, and I have a fix with tests ready: the output writes look up the semantic of the nested struct field itself, which has none. Would it be okay if I opened a PR, or are you already working on it?

  3. s-perron commented on Sep 29, 2026

    @s-perron
    Collaborator

    Open a PR. I don't work on DXC anymore. If no one looks at it ping me and I'll let the right people know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugspirv

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions