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

Kenneth Graunke kenneth at whitecape.org
Sun Mar 31 22:14:41 PDT 2013


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 (which is bogus, because it means we
> optimize out VS outputs, and don't interpolate FS inputs!)
> ---
>   src/mesa/drivers/dri/i965/brw_shader.cpp |   20 ++++++++++++++++++--
>   1 file changed, 18 insertions(+), 2 deletions(-)

Yeah, this seems reasonable.

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>



More information about the mesa-dev mailing list