DirectXShaderCompiler icon indicating copy to clipboard operation
DirectXShaderCompiler copied to clipboard

[SPIR-V] Compiling node shader (work graphs) produces error: `semantic string missing for shader input variable 'h'`

Open N04H02 opened this issue 2 years ago • 2 comments

Description

Compiling a valid node shader results in error: semantic string missing for shader input variable 'h'.

Shaders tested were following:

Steps to Reproduce

  1. Download sanity-entry_cs.hlsl from vulkan-samples
  2. Execute dxc.exe -T lib_6_9 -spirv -fspv-target-env=vulkan1.3 -enable-16bit-types -Fo output.spv sanity_entry_cs.hlsl to 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.7 OR dxcompiler.dll: 1.9 - 1.8.2404.55)
  • Host Operating System Windows 11 23H2

N04H02 avatar Nov 25 '24 20:11 N04H02

@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 avatar Jan 13 '25 14:01 s-perron

@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.

danbrown-amd avatar Jan 13 '25 17:01 danbrown-amd