i965: Also consider HALTs a potential block end.
authorEric Anholt <eric@anholt.net>
Wed, 12 Dec 2012 20:47:50 +0000 (12:47 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 14 Dec 2012 23:45:26 +0000 (15:45 -0800)
commit7baf9198b201666fc0f20fe407d7b46ee0ca7ef5
tree31805ce51bf0909138615ee7bd36b0ea30479565
parent2702202290b55a9c8b61f02f7ae0af8f4a53f0e2
i965: Also consider HALTs a potential block end.

The final halt of the fragment shader turns off the remaining channels,
then jumps such that everything is turned back on.  So, we can have our
last ENDIF of the shader point at that directly.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_eu_emit.c