glsl: Add an optimization pass to simplify discards.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 25 Nov 2010 06:02:26 +0000 (22:02 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 1 Dec 2010 19:52:43 +0000 (11:52 -0800)
commit9a1d063c6d679c2155f5eb80f1cb94368d36bf2c
tree4e77852832c0c61a4089f86aa64d15f7ed812fef
parentead2ea89f42b40edc56ddf8c6ce1df4efdcefe2a
glsl: Add an optimization pass to simplify discards.

NOTE: This is a candidate for the 7.9 branch.
src/glsl/Makefile
src/glsl/SConscript
src/glsl/glsl_parser_extras.cpp
src/glsl/ir_optimization.h
src/glsl/opt_discard_simplification.cpp [new file with mode: 0644]