[Mesa-dev] [PATCH] mesa: Move MESA_GLSL=dump output to stderr.

Brian Paul brianp at vmware.com
Sat Mar 1 09:16:11 PST 2014


On 03/01/2014 01:47 AM, Kenneth Graunke wrote:
> 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 at whitecape.org>
> ---
>   src/mesa/main/shaderapi.c       | 20 +++++++++++---------
>   src/mesa/program/ir_to_mesa.cpp | 23 ++++++++++++-----------
>   2 files changed, 23 insertions(+), 20 deletions(-)
>

Reviewed-by: Brian Paul <brianp at vmware.com>



More information about the mesa-dev mailing list