diff options
author | Kenneth Graunke <[email protected]> | 2017-01-21 03:54:46 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2017-02-06 17:40:14 -0800 |
commit | ce8a63de6dffd4a7bc704b63bdd48a63798a438e (patch) | |
tree | af30207c0cfd3b917515ed30c93648b8f0f0fafc /src/mesa/drivers/dri/r200/r200_cmdbuf.c | |
parent | ece0e535a44c228dd994861592deb155c14740d8 (diff) |
Revert "i965: Disable guardband clipping in the smaller-than-viewport case."
This reverts commit 0bac2551e40410e2251daf4fd9faf69310ab34ce.
Now that we position the guardband correctly (applying translations
in addition to scaling) and made it as large (or larger) than the
render target, this shouldn't be necessary.
Now we leave guardband clipping enabled 100% of the time, like the
Windows driver does.
Fixes GL45-CTS.gtf21.GL2FixedTests.clip.clip. It tries to draw a
16384x64 rectangle, and it appears that some kind of numerical
imprecisions in the clipper result in some edge pixels going missing.
The Windows driver passes this test because of guardband clipping.
Cc: "17.0" <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/r200/r200_cmdbuf.c')
0 files changed, 0 insertions, 0 deletions