mesa: Dump ARB_vp/fp source and IR when MESA_GLSL=dump.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 12 May 2014 03:22:48 +0000 (20:22 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 13 May 2014 22:32:16 +0000 (15:32 -0700)
commit2265bda5139442a65be0695af4aadd624ca31990
tree7e9a75c5953a81ad463340c387dc54d2f29183f1
parentbd44ac8b5ca08016bb064b37edaec95eccfdbcd5
mesa: Dump ARB_vp/fp source and IR when MESA_GLSL=dump.

As far as I can tell, Mesa hasn't had a convenient way to dump ARB_vp/fp
source until now.  Using MESA_GLSL=dump is convenient, since it means
you can use a single environment variable to dump a program's shaders,
no matter which language they're written in.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/arbprogram.c