summaryrefslogtreecommitdiffstats
path: root/doxygen/doxy.bat
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2015-08-28 01:43:23 -0700
committerKenneth Graunke <[email protected]>2015-09-03 22:31:04 -0700
commitfba4823a916b63f279955dbe6d98b6efc666f53e (patch)
tree3128b1ff79fed9f59d2cb6a057a1df197c539690 /doxygen/doxy.bat
parent4f4b7c4711d98606270133dfd456acabfa8267a6 (diff)
i965: Don't do legacy userclipping in non-compatibility contexts.
According to the GLSL 1.50 specification, page 76: "The shader must also set all values in gl_ClipDistance that have been enabled via the OpenGL API, or results are undefined." With this patch, we only enable clip distance writes when the shader actually writes them. We no longer force a value to be written when clip planes are enabled in the API. This could mean the first varying slot would be used as clip distances - I believe it should be the safe kind of undefined behavior. Empirically, it doesn't seem to cause a problem. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Chris Forbes <[email protected]>
Diffstat (limited to 'doxygen/doxy.bat')
0 files changed, 0 insertions, 0 deletions