mesa: add GLSL_REPORT_ERRORS debug flag
authorBrian Paul <brianp@vmware.com>
Thu, 17 May 2012 13:44:32 +0000 (07:44 -0600)
committerBrian Paul <brianp@vmware.com>
Sat, 19 May 2012 14:28:56 +0000 (08:28 -0600)
commit0161691f3518db310411c5f02c05aa639050f129
tree8d0081ee635b6bbe5604353aeb0d6d96e6f7baf0
parent1c333745f3dc1e0304295684a8e77af45fe2b40e
mesa: add GLSL_REPORT_ERRORS debug flag

If the MESA_GLSL env var contains "errors", GLSL compilation and
link errors will be reported to stderr.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/mtypes.h
src/mesa/main/shaderapi.c