Description
When trying to debug a pixel shader, RenderDoc crashes, likely due to invalid debug information.
Steps to Reproduce
dxc.exe def_final_composition_bug.txt -E mainfrag -T ps_6_0 -spirv -fspv-target-env=vulkan1.1 -Wall -Wno-unused-const-variable -D imBINDLESS=1 -fspv-extension=SPV_EXT_descriptor_indexing -fspv-extension=SPV_KHR_non_semantic_info -fspv-debug=vulkan-with-source
def_final_composition_bug.txt
Actual Behavior
Debugging the fragment shader with RenderDoc leads to the tool crashing immediately.
SPIR-V is very likely incorrect but I'm unable to say which line(s) is/are the culprit(s).
Environment
-
DXC version
dxcompiler.dll: 1.10(5360-c1e1fc78)(1.10.2605.24) - 1.10.2605.24 (c1e1fc7)
and
dxcompiler.dll: 1.9(5191-d355aa83)(1.9.2602.24) - 1.9.2602.24 (d355aa8)
and
dxcompiler.dll: 1.9(5184-21d28f72)(1.9.2602.17) - 1.9.2602.17 (21d28f7)
-
Host Operating System Windows 11
Description
When trying to debug a pixel shader, RenderDoc crashes, likely due to invalid debug information.
Steps to Reproduce
dxc.exe def_final_composition_bug.txt -E mainfrag -T ps_6_0 -spirv -fspv-target-env=vulkan1.1 -Wall -Wno-unused-const-variable -D imBINDLESS=1 -fspv-extension=SPV_EXT_descriptor_indexing -fspv-extension=SPV_KHR_non_semantic_info -fspv-debug=vulkan-with-source
def_final_composition_bug.txt
Actual Behavior
Debugging the fragment shader with RenderDoc leads to the tool crashing immediately.
SPIR-V is very likely incorrect but I'm unable to say which line(s) is/are the culprit(s).
Environment
DXC version
dxcompiler.dll: 1.10(5360-c1e1fc78)(1.10.2605.24) - 1.10.2605.24 (c1e1fc7)
and
dxcompiler.dll: 1.9(5191-d355aa83)(1.9.2602.24) - 1.9.2602.24 (d355aa8)
and
dxcompiler.dll: 1.9(5184-21d28f72)(1.9.2602.17) - 1.9.2602.17 (21d28f7)
Host Operating System Windows 11