aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/targets
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-11-15 12:00:33 -0800
committerEric Anholt <[email protected]>2012-11-19 22:33:44 -0800
commitd411bbd5bd895617e265e023213895100e4509ef (patch)
tree4e6424919f7625fbcd99b0fbd35c9cd858094ca4 /src/gallium/targets
parent23e7b81f2d742d292d77b53ac9cf72c3d89fc798 (diff)
i965: Disable the GB clip test when a limited viewport is set.
The theory of the guardband is that you extend the clip volume to avoid expensive clipping computation, and just let fragments outside the viewport get clipped by the drawable's bounds. But if a smaller-than-window-size viewport is set, and we don't also happen to have a scissor set, then rendering could incorrectly extend outside of the viewport when it should have been clipped to the viewport. Fixes the new piglit triangle-guardband-viewport test. Reviewed-by: Kenneth Graunke <[email protected]> NOTE: This is a candidate for the 9.0 branch.
Diffstat (limited to 'src/gallium/targets')
0 files changed, 0 insertions, 0 deletions