Skip to content

[SPIR-V] E_FAIL for Mesh Shader #6960

Closed

Description

Description

Use cmd line:
dxc.exe can't compile mesh shader, IDxcCompiler3::Compile returns E_FAIL(0x80004005)
dxc.exe -T ms_6_5 -spirv -E main -fspv-extension=SPV_EXT_mesh_shader -fspv-target-env=vulkan1.3 MeshletMS.hlsl
or use DXC API directly, in this case

Steps to Reproduce

  1. Use dxc compiler tool:
    dxc.exe -T ms_6_5 -spirv -E main -fspv-extension=SPV_EXT_mesh_shader -fspv-target-env=vulkan1.3 MeshletMS.hlsl
  2. Use DXC API:
    IDxcCompiler3::Compile returns E_FAIL(0x80004005), errors happens here

I attached mesh shader fileMeshletMS.zip

I have no problem using dxcompiler.dll: 1.8 - 1.8.0.14728 (main, b400c72-dirty)

Actual Behavior
Correct Compilation

Environment

  • DXC version dxcompiler.dll: 1.8 - 1.8.0.14728 (main, b400c72-dirty)
  • Host Operating System Windows 11

Activity

  1. added
    bug
    needs-triage
    spirv
    on Oct 13, 2024
  2. s-perron commented on Oct 15, 2024

    @s-perron
    Collaborator

    Regression caused by KhronosGroup/SPIRV-Tools#5827.

  3. moved this from For Google to Triaged in HLSL Triageon Oct 15, 2024
  4. added a commit that references this issue on Oct 16, 2024
    da072d1
  5. Andreyogld3d commented on Oct 20, 2024

    @Andreyogld3d
    ContributorAuthor

    Hi Cassandra Beckley (@cassiebeckley) , Thank you - I have no problem on DXC Version string 1.8.0.14751 , as I know problem was in Spirv-tools

  6. moved this from In progress to Done in HLSL Roadmapon Oct 20, 2024
  7. added a commit that references this issue on Oct 21, 2024
    c6d98ef
  8. added a commit that references this issue on Jul 24, 2025
    604ba94
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