glsl_to_tgsi: use a more specific condition for gl_FragDepth hack in generating assig...
authorBryan Cain <bryancain3@gmail.com>
Sat, 25 Jun 2011 01:37:53 +0000 (20:37 -0500)
committerBryan Cain <bryancain3@gmail.com>
Mon, 1 Aug 2011 22:59:09 +0000 (17:59 -0500)
commit194732fd7299481dd57815f46a594d155260ce17
tree2b978fabc4243d56195424c0ecaa535289d813a6
parent41472f7809dcff114223b8fadc5b97baff6060a9
glsl_to_tgsi: use a more specific condition for gl_FragDepth hack in generating assignments

This reduces the number of instructions in the fragment shader of
glsl-fs-atan-2 from 174 to 146 with EmitNoIfs enabled.
src/mesa/state_tracker/st_glsl_to_tgsi.cpp