glsl: consolidate error/warning code
authorDylan Noblesmith <nobled@dreamwidth.org>
Mon, 2 Apr 2012 15:39:38 +0000 (15:39 +0000)
committerDylan Noblesmith <nobled@dreamwidth.org>
Wed, 2 May 2012 16:12:22 +0000 (16:12 +0000)
commit48e8a010aebbb40c75698e2aa8854d129c89f359
tree3248ed77d35f47fa68bf2409363a3d3ee0ea474b
parentc8fb30abf1131072c855f2539db6455fac65dcb0
glsl: consolidate error/warning code

And lay the groundwork for GL_ARB_debug_output.

v2: Add descriptive comments.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/glsl/glsl_parser_extras.cpp