i915: Add support for reading output regs in the FS.
authorEric Anholt <eric@anholt.net>
Tue, 17 Aug 2010 22:51:34 +0000 (15:51 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 17 Aug 2010 23:39:18 +0000 (16:39 -0700)
commite43b250fc076aea9e4b5319fdf409e95b28ac8fc
tree0696fbe854fd03c21fe5ffbac9471efa0a4424ea
parent66690864efb9ab1077f87744e1afec3231f244f6
i915: Add support for reading output regs in the FS.

Fixes glsl-unused-varying and many others, since we produce an output
reg read any time gl_FragColor is written inside an if statement.
src/mesa/drivers/dri/i915/i915_fragprog.c