[SPIR-V] Compiling node shader (work graphs) produces error: `semantic string missing for shader input variable 'h'`
Description
Compiling a valid node shader results in error: semantic string missing for shader input variable 'h'.
Shaders tested were following:
- Samples from Vulkan-Shaders/shaders/gpu-dispatch
- The specific example from the official documentation under Node Input
Steps to Reproduce
- Download
sanity-entry_cs.hlslfrom vulkan-samples - Execute
dxc.exe -T lib_6_9 -spirv -fspv-target-env=vulkan1.3 -enable-16bit-types -Fo output.spv sanity_entry_cs.hlslto compile the shader
Actual Behavior
Compilation fails with the error: error: semantic string missing for shader input variable 'h'
Environment
- DXC version (
dxcompiler.dll: 1.8 - 1.8.2407.7ORdxcompiler.dll: 1.9 - 1.8.2404.55) - Host Operating System Windows 11 23H2
@danbrown-amd Can you comment on where you are in your work graph implementation?
AFAIK, the SPIR-V backend does not support work graphs yet, and we will need to wait for #5960 to be completed. I will close this for now as a duplicate of that issue.
@s-perron An implementation is currently available via AMD GPUOpen. A few non-technical matters remain to be resolved before I submit a PR here.