Compare commits

...

1 Commits

Author SHA1 Message Date
3a7b137165 Add debug compiler 2026-01-22 02:04:26 +01:00
2 changed files with 3 additions and 0 deletions

View File

@@ -51,3 +51,4 @@ if (MSVC)
else()
target_compile_options(TheChef PRIVATE -Wall -Wextra -Wpedantic)
endif()

View File

@@ -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