[Mesa-dev] [PATCH 1/2] glsl: Add a lowering pass to remove reads of shader output variables.

2012-01-02 Thread Vincent Lejeune
This is similar to Gallium's existing glsl_to_tgsi::remove_output_read lowering pass, but done entirely inside the GLSL compiler. Signed-off-by: Vincent Lejeune v...@ovi.com Signed-off-by: Kenneth Graunke kenn...@whitecape.org v2 [Kayden]: - Don't reallocate the array for every shader output.

Re: [Mesa-dev] [PATCH 1/2] glsl: Add a lowering pass to remove reads of shader output variables.

2012-01-02 Thread Ian Romanick
On 01/02/2012 11:17 AM, Vincent Lejeune wrote: This is similar to Gallium's existing glsl_to_tgsi::remove_output_read lowering pass, but done entirely inside the GLSL compiler. Signed-off-by: Vincent Lejeunev...@ovi.com Signed-off-by: Kenneth Graunkekenn...@whitecape.org v2 [Kayden]: - Don't