i965: Refactor debug dumping of GLSL IR.
authorEric Anholt <eric@anholt.net>
Fri, 21 Feb 2014 02:23:52 +0000 (18:23 -0800)
committerEric Anholt <eric@anholt.net>
Sun, 23 Feb 2014 03:23:21 +0000 (19:23 -0800)
commitf28c9208652143b4925bd97ce9823728c34d34a5
tree9190b65ce54f3946796f020effcfd43abe1e6cd3
parent9ac9d133ed3d675a0c4cb527fb643ca590fe7d78
i965: Refactor debug dumping of GLSL IR.

This was only going to get worse when tesselation shows up, and was
causing too much extra duplication in my stderr changes coming up.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_program.c
src/mesa/drivers/dri/i965/brw_program.h
src/mesa/drivers/dri/i965/brw_vec4.cpp
src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.cpp