summaryrefslogtreecommitdiffstats
path: root/src/glsl/lower_discard_flow.cpp
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-12-12 12:47:50 -0800
committerEric Anholt <[email protected]>2012-12-14 15:45:26 -0800
commit7baf9198b201666fc0f20fe407d7b46ee0ca7ef5 (patch)
tree31805ce51bf0909138615ee7bd36b0ea30479565 /src/glsl/lower_discard_flow.cpp
parent2702202290b55a9c8b61f02f7ae0af8f4a53f0e2 (diff)
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 <[email protected]>
Diffstat (limited to 'src/glsl/lower_discard_flow.cpp')
0 files changed, 0 insertions, 0 deletions