Repository navigation
SpirV code with full glsl source for debugging? #265
|
Hello, is it possible to load spirv directly, or atleast pass glslangValidator flags for keeping debug source of glsl (paramerter -gVS). This enables full glsl debuging in RenderDoc, which would be really helpful. Iam aware that you are patching the shader code and injecting info about descriptor sets, so iam not sure whether glsl source would still be valid (if you are patching it on that layer, then maybe). Iam using exlusivelly glsl. Thanks for answer! |
Answered by
TheMostDiligent
Aug 24, 2023
Replies: 1 comment
Yes, when you create the shader, you can provide the bytecode directly. There is currently no way to pass command-line options, Diligent does not use the command line interface for shader compilation |
0 replies
Answer selected by
Melchiah
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, when you create the shader, you can provide the bytecode directly.
There is currently no way to pass command-line options, Diligent does not use the command line interface for shader compilation