glsl: new MESA_GLSL env var for GLSL debugging features
authorBrian Paul <brianp@vmware.com>
Fri, 6 Feb 2009 17:21:36 +0000 (10:21 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 6 Feb 2009 17:21:36 +0000 (10:21 -0700)
commite01a03d2220199a4541f2cb8b42035237a571aa4
treeefc2fdd4c2341ad8763082396d44971481a28cf9
parent6ce0c6e743b27cc284e8f164585cfe5892cd662a
glsl: new MESA_GLSL env var for GLSL debugging features

Replaces the VERBOSE_GLSL, VERBOSE_GLSL_DUMP flags which only worked in debug
builds.  MESA_GLSL will work both in debug and non-debug builds.
Also add facility to dump glUniform() calls to stdout.
src/mesa/main/debug.c
src/mesa/main/mtypes.h
src/mesa/shader/shader_api.c
src/mesa/shader/slang/slang_compile.c
src/mesa/shader/slang/slang_link.c
src/mesa/shader/slang/slang_log.c