Mesa (master): glsl: call _mesa_write_shader_to_file(). Debug-only, disabled

Brian Paul brianp at kemper.freedesktop.org
Thu Jan 22 17:41:33 UTC 2009


Module: Mesa
Branch: master
Commit: f9152f316a6e1a2277d32e0beb31d6355d205e21
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f9152f316a6e1a2277d32e0beb31d6355d205e21

Author: Brian Paul <brianp at vmware.com>
Date:   Thu Jan 22 10:35:51 2009 -0700

glsl: call _mesa_write_shader_to_file().  Debug-only, disabled

---

 src/mesa/shader/slang/slang_compile.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/mesa/shader/slang/slang_compile.c b/src/mesa/shader/slang/slang_compile.c
index 456ec44..40460e0 100644
--- a/src/mesa/shader/slang/slang_compile.c
+++ b/src/mesa/shader/slang/slang_compile.c
@@ -2796,6 +2796,10 @@ _slang_compile(GLcontext *ctx, struct gl_shader *shader)
 
    shader->CompileStatus = success;
 
+#if 0
+   _mesa_write_shader_to_file(shader);
+#endif
+
    return success;
 }
 




More information about the mesa-commit mailing list