Re: [Mesa-dev] [PATCH] i965: Dump shader source for linked shader programs.

2013-03-31 Thread Kenneth Graunke
On 03/22/2013 05:40 PM, Eric Anholt wrote: 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 (w

[Mesa-dev] [PATCH] i965: Dump shader source for linked shader programs.

2013-03-22 Thread Eric Anholt
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 o