bkaradzic / bgfx

Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.
https://bkaradzic.github.io/bgfx/overview.html
BSD 2-Clause "Simplified" License
15.01k stars 1.94k forks source link

Can I output platform shader code for debug? #1461

Open ArionTT opened 6 years ago

ArionTT commented 6 years ago

I have use shaderc to compile the bgfx shder code to platform shader code, on my situation it is a dx11 code. But when I want to compile shader in VSGraphicDebugger I can found the shader source code.

Can shaderc translate a platform code for debug?

bkaradzic commented 6 years ago

At some point this worked, but I noticed it's broken again. I'll have to figure out what's going on.