mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 08:08:06 +02:00
glsl: preprocessor debug code (disabled)
This commit is contained in:
parent
cc26e27746
commit
854151ba62
1 changed files with 5 additions and 0 deletions
|
|
@ -1319,6 +1319,11 @@ _slang_preprocess_directives(slang_string *output,
|
|||
success = preprocess_source (output, input, pid, eid, elog, extensions, pragmas);
|
||||
grammar_destroy (eid);
|
||||
grammar_destroy (pid);
|
||||
if (0) {
|
||||
_mesa_printf("Post-processed shader:\n");
|
||||
_mesa_printf("%s", output->data);
|
||||
_mesa_printf("----------------------\n");
|
||||
}
|
||||
return success;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue