summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/prog_print.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-01-22 10:34:43 -0700
committerBrian Paul <[email protected]>2009-01-22 10:34:43 -0700
commitd0038930312f96468a9159a1221c3f4c56bddaa4 (patch)
tree4d9865200292d1ded84f9f8bdf765093910a0d91 /src/mesa/shader/prog_print.h
parentcb136e0476a3ca4f3cb7730ccdd729ba3773e351 (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.h4
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 */