vkCreateGraphicsPipelines crash when adding VK_SHADER_STAGE_MESH_BIT_NV

Hello,

I am unable to proceed with mesh shader integration because graphics pipeline creation fails when adding a mesh shader. It crashes inside nvogl.dll:

Exception thrown at 0x00007FF9789DEA8D (nvoglv64.dll) in Editor_Windows.exe: 0xC0000005: Access violation reading location 0x0000000000000000.

Could you please help me diagnose this error? I have tried with validation layers enabled/disabled, but it doesn’t give me an error. Validation layer otherwise works, I can confirm by making an obvious mistake, such as disabling mesh shader extension while trying to compile pipeline with mesh shader inside (then it outputs validation message and then crashes).

Is there anything else I am required to do when creating the graphics pipeline apart from addin a mesh shader? I am not adding a task shader, is that fine? (I am not required to add one in DX12)

My Nvidia driver: 452.06 DCH
GPU: RTX 2060 (laptop)

Kind regards,
Janos

Additional info:

  • Shader was compiled with DXC.
  • spirv-val is not picking up any validation issues.
  • vertex, primitive count limits below the limits queried from vulkan
  • attaching the shader disassembly.
    mesh-shader-disasm.txt (29.8 KB)

Hi,
The shader works fine with 456.38 driver version. Previously I had tried a number of different drivers when the crash occurred. Fingers crossed it will keep working now.
-Janos