glsl: Add a lowering pass to remove reads of shader output variables.
authorVincent Lejeune <vljn@ovi.com>
Tue, 3 Jan 2012 10:08:32 +0000 (02:08 -0800)
committerDave Airlie <airlied@redhat.com>
Fri, 6 Jan 2012 13:36:44 +0000 (13:36 +0000)
commit6d4b35c03619148cde89bc5eedaac3288001edd3
tree785f5c396309de1bc73617165851191909ec658c
parent293a3916bd0dfa4fb8850e58f81743bfab0f89dc
glsl: Add a lowering pass to remove reads of shader output variables.

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 <vljn@ovi.com>
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/glsl/Makefile.sources
src/glsl/ir_optimization.h
src/glsl/lower_output_reads.cpp [new file with mode: 0644]