glsl: Don't apply optimization passes to builtins.
authorEric Anholt <eric@anholt.net>
Thu, 22 Mar 2012 15:58:33 +0000 (08:58 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 12 Apr 2012 01:08:21 +0000 (18:08 -0700)
commitfda662f4dffa658d28ea739dd236fe0350828d59
tree5ec4fa4c028710b9244e8376842004aac584ae7b
parent0fd4165261311fb36c98885edb7331df29eec09d
glsl: Don't apply optimization passes to builtins.

The builtins we have are generally optimized, having been
hand-written.  This avoids generating bad code when an optimization
pass prints debug output.
src/glsl/builtins/tools/generate_builtins.py