Revert "mesa/st: Passthrough scissor when clearing by quad"
authorMarek Olšák <marek.olsak@amd.com>
Thu, 4 Jul 2019 05:08:02 +0000 (01:08 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 4 Jul 2019 05:08:02 +0000 (01:08 -0400)
This reverts commit 0a88aa3025db0cc5a68222c7939d7da4d218f1be.

It breaks a lot of piglit tests.

src/mesa/state_tracker/st_cb_clear.c

index 0a2a4bf1b25481c00051f51096ca984f03036b98..3a49bd4d6c1c65138533663345f5e3a864a46c4d 100644 (file)
@@ -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 */