From 6ab23805c3aa576c8805c9ae1293c00deb02a185 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Thu, 4 Jul 2019 01:08:02 -0400 Subject: [PATCH] Revert "mesa/st: Passthrough scissor when clearing by quad" This reverts commit 0a88aa3025db0cc5a68222c7939d7da4d218f1be. It breaks a lot of piglit tests. --- src/mesa/state_tracker/st_cb_clear.c | 3 --- 1 file changed, 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 */ -- 2.30.2