summaryrefslogtreecommitdiffstats
path: root/docs/precompiled.html
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2011-12-19 10:53:10 -0800
committerEric Anholt <[email protected]>2012-03-16 11:55:38 -0700
commit31866308fcf989df992ace28b5b986c3d3770e90 (patch)
tree28db9a1b780624214ef409b78108f809842dfb3f /docs/precompiled.html
parentbddb2edab616d30f7894cfff7071a70d273a848e (diff)
i965/fs: Jump from discard statements to the end of the program when done.
From the GLSL 1.30 spec: The discard keyword is only allowed within fragment shaders. It can be used within a fragment shader to abandon the operation on the current fragment. This keyword causes the fragment to be discarded and no updates to any buffers will occur. Control flow exits the shader, and subsequent implicit or explicit derivatives are undefined when this control flow is non-uniform (meaning different fragments within the primitive take different control paths). v2: Don't emit the final HALT if no other HALTs were emitted. Reviewed-by: Kenneth Graunke <[email protected]> (v1)
Diffstat (limited to 'docs/precompiled.html')
0 files changed, 0 insertions, 0 deletions