Skip to content

unable to get debug flags with Dxc #487

Open
@Vipitis

Description

@Vipitis

so with v25 we can specify Dxc via the Instance extras and debug mode via flags. I managed to get debug flag working for Fxc and Vulkan. But Dxc gives me the very same compiler flags no matter if the flag is set or not. I tried newer Dxc version too but same behaviour. Checked via RenderDoc and Intel GPA (the later might have issues with Dxc anyway). Here is the changes to the triangle example I used, also tried this via the python mappings (which is where I want to end up using it):
2d4e99e

I traced this up to wgpu-core here: https://github.com/gfx-rs/wgpu/blob/wgpu-v25.0.2/wgpu-hal/src/dx12/shader_compilation.rs#L293-L301 but looks alright to me. Please let me know if this is an upstream issue.

So my question really is: anyone got this working via wgpu-native?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions