diff options
author | Brian Paul <[email protected]> | 2009-01-22 10:34:43 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-01-22 10:34:43 -0700 |
commit | d0038930312f96468a9159a1221c3f4c56bddaa4 (patch) | |
tree | 4d9865200292d1ded84f9f8bdf765093910a0d91 /src/mesa/shader/prog_print.h | |
parent | cb136e0476a3ca4f3cb7730ccdd729ba3773e351 (diff) |
glsl: new _mesa_write_shader_to_file() function
Used to log a shader to a file. Includes shader source code, the info log
and generated GPU instructions.
Diffstat (limited to 'src/mesa/shader/prog_print.h')
-rw-r--r-- | src/mesa/shader/prog_print.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/shader/prog_print.h b/src/mesa/shader/prog_print.h index cd9e388e825..a64a3126e8b 100644 --- a/src/mesa/shader/prog_print.h +++ b/src/mesa/shader/prog_print.h @@ -72,4 +72,8 @@ extern void _mesa_print_parameter_list(const struct gl_program_parameter_list *list); +extern void +_mesa_write_shader_to_file(const struct gl_shader *shader); + + #endif /* PROG_PRINT_H */ |