diff options
author | Kenneth Graunke <[email protected]> | 2016-03-10 15:30:36 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2016-03-18 18:42:30 -0700 |
commit | 0de64ab7881cc4d343fecf8a2b5b9b9ca7b34416 (patch) | |
tree | 26e8eb41e975442208cce62fc05d99174f9583cb /src/mesa/main/glformats.c | |
parent | d000a4989f66921832a33742ea07fa191393231b (diff) |
i965: Scissor to the viewport when rendering points/lines.
We're about to start allowing wide points/lines whose vertices are
outside the viewport past the clipper. This scissoring hack ensures
that any fragments generated are still restricted to the viewport.
It is not necessary on Gen8+ as those platforms already discard
fragments which are outside the viewport.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94453
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94454
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/mesa/main/glformats.c')
0 files changed, 0 insertions, 0 deletions