Falcor icon indicating copy to clipboard operation
Falcor copied to clipboard

Failed to generate shader debug info

Open Pommpy opened this issue 10 months ago • 1 comments

I am running on Falcor 7.0 and failed to generate shader debug info after following #415 (I need the shader source code in Nsight Graphics).

All of the following did not work for me:

  1. Running Mogwai with ----debug-shaders
  2. desc.addCompilerArguments({"-Xdxc", "/Zi"});
  3. desc.setCompilerFlags(Falcor::SlangCompilerFlags::GenerateDebugInfo);
  4. Running Mogwai with ----debug-shaders and --shadercache=""

Both 3 and 4 raised the following error to me:

Image

Pommpy avatar Feb 24 '25 05:02 Pommpy

Seems like it's a Falcor 7.0 issue because I can profile shaders in 8.0 and failed to profile the minimal path tracer in a new 7.0 repo.

Pommpy avatar Feb 24 '25 06:02 Pommpy