ir_to_mesa: Print shader source and compiled IR under MESA_GLSL=dump.
authorEric Anholt <eric@anholt.net>
Thu, 5 Aug 2010 02:43:41 +0000 (19:43 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 5 Aug 2010 03:52:33 +0000 (20:52 -0700)
commit455290e4281bf53ce2fe248a2adf5163563c44c8
treebb4338afab265e014c3eb023a17bbd3ba66a537f
parente3a90b8e38b1d0de9f473caca96779e215071315
ir_to_mesa: Print shader source and compiled IR under MESA_GLSL=dump.

While the Mesa IR dumping includes some corresponding GLSL IR for
correlating Mesa IR to GLSL IR, it doesn't completely express it.
This printing includes things like variable declarations and control
flow structure that is hard to read otherwise.
src/mesa/program/ir_to_mesa.cpp