mesa: Move MESA_GLSL=dump output to stderr.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 1 Mar 2014 08:11:18 +0000 (00:11 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Sun, 2 Mar 2014 21:37:09 +0000 (13:37 -0800)
commitc95ec27a4afbc43a226c3be2892598500ab906f7
tree0d50c64f57f1847677fff4664c8175ff7994c8f7
parent3f37dd913f3461fb197e878739a269e639852667
mesa: Move MESA_GLSL=dump output to stderr.

i965 recently moved debug printfs to use stderr, including ones which
trigger on MESA_GLSL=dump.  This resulted in scrambled output.

For drivers using ir_to_mesa, print_program was already using stderr,
yet all the code around it was using stdout.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/main/shaderapi.c
src/mesa/program/ir_to_mesa.cpp