summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2019-07-04 01:08:02 -0400
committerMarek Olšák <[email protected]>2019-07-04 01:08:02 -0400
commit6ab23805c3aa576c8805c9ae1293c00deb02a185 (patch)
treeb90ddf05c1439ef8f25e86e2c39422cd85b733a6 /src/mesa
parent8dfdf5aae4a6d6c599c160ac3e2ffd0ba604282a (diff)
Revert "mesa/st: Passthrough scissor when clearing by quad"
This reverts commit 0a88aa3025db0cc5a68222c7939d7da4d218f1be. It breaks a lot of piglit tests.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/state_tracker/st_cb_clear.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/state_tracker/st_cb_clear.c b/src/mesa/state_tracker/st_cb_clear.c
index 0a2a4bf1b25..3a49bd4d6c1 100644
--- a/src/mesa/state_tracker/st_cb_clear.c
+++ b/src/mesa/state_tracker/st_cb_clear.c
@@ -323,9 +323,6 @@ clear_with_quad(struct gl_context *ctx, unsigned clear_buffers)
cso_set_stream_outputs(cso, 0, NULL, NULL);
cso_set_sample_mask(cso, ~0);
cso_set_min_samples(cso, 1);
-
- /* set scissor if necessary to allow optimization */
- st->clear.raster.scissor = ctx->Scissor.EnableFlags & 1;
cso_set_rasterizer(cso, &st->clear.raster);
/* viewport state: viewport matching window dims */