Description
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?