i965: Dump shader source for linked shader programs.
authorEric Anholt <eric@anholt.net>
Fri, 22 Mar 2013 23:50:58 +0000 (16:50 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 1 Apr 2013 18:30:36 +0000 (11:30 -0700)
commit229a51cdbe3128626fd359fe03722a55e40927d7
tree760a03b002b6deb344f18823a882a88fc3523299
parent777a7f2003f260cc383f14029413f48101ae5718
i965: Dump shader source for linked shader programs.

We dump shader source in ir_to_mesa.cpp, and we dump linked programs here,
but we had no reference from the linked programs to their source.  This
was preventing improvement of shader-db to use linked shader programs
instead of individual shader files (which is bogus, because it means we
optimize out VS outputs, and don't interpolate FS inputs!)

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_shader.cpp