Skip to content

[SPIR-V] /* multiple #lines overlapping */ in RenderDoc #7569

@gjaegy

Description

@gjaegy

Description
Since we've updated DXC to commit 50f53c6 (6 jun 2025), we are not able to debug our shaders in RenderDoc due to all source HLSL lines being duplicated (each HLSL line is present 13 times in the source file).
This doesn't occur when compiling the shaders using an older version of DXC (b26fd80, 8 oct 2024)

Image

Steps to Reproduce

dxc.exe blit_hdr.hlsl.txt -E mainfragIGSpecific -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

blit_hdr.hlsl.txt

Actual Behavior

Environment

  • DXC version dxcompiler.dll: 1.9 - 1.8.0.4946 (9efbb6c); dxil.dll: 1.4(10.0.18362.1)
  • Host Operating System windows 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugBug, regression, crashneeds-triageAwaiting triagespirvWork related to SPIR-V

    Type

    No type

    Projects

    Status

    Done

    Status

    Triaged

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions