glsl: new _mesa_write_shader_to_file() function
authorBrian Paul <brianp@vmware.com>
Thu, 22 Jan 2009 17:34:43 +0000 (10:34 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 22 Jan 2009 17:34:43 +0000 (10:34 -0700)
commitd0038930312f96468a9159a1221c3f4c56bddaa4
tree4d9865200292d1ded84f9f8bdf765093910a0d91
parentcb136e0476a3ca4f3cb7730ccdd729ba3773e351
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.
src/mesa/shader/prog_print.c
src/mesa/shader/prog_print.h