Add debug compiler
This commit is contained in:
2
main.cpp
2
main.cpp
@@ -130,6 +130,8 @@ int main(int argc, char** argv) {
|
||||
// ----------------------------
|
||||
SpirvShaderCompiler::Options scOpt;
|
||||
scOpt.debugInfo = false; // set true if you want debug info in SPIR-V
|
||||
scOpt.defines = { "DEBUG=1" };
|
||||
|
||||
|
||||
// Common conventions (adjust to your folder layout):
|
||||
// - shaders live under <input>/shaders
|
||||
|
||||
Reference in New Issue
Block a user