freedreno: a2xx: fix fast clear
authorJonathan Marek <jonathan@marek.ca>
Tue, 5 Feb 2019 19:08:12 +0000 (14:08 -0500)
committerRob Clark <robdclark@gmail.com>
Wed, 6 Feb 2019 14:34:57 +0000 (14:34 +0000)
Fixes: 912a9c8d
Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Cc: 19.0 <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/freedreno/a2xx/fd2_draw.c

index 772127c74789dad56aef92cbaab5703cbf0f9d71..498c1eae1d73da5c024fcb58411a5c61d5daee3d 100644 (file)
@@ -339,7 +339,6 @@ clear_fast(struct fd_batch *batch, struct fd_ringbuffer *ring,
        OUT_PKT3(ring, CP_SET_CONSTANT, 2);
        OUT_RING(ring, CP_REG(REG_A2XX_PA_SC_SCREEN_SCISSOR_BR));
        OUT_RINGP(ring, patch_type, &batch->gmem_patches);
-       OUT_RING(ring, 0);
 
        OUT_PKT3(ring, CP_SET_CONSTANT, 4);
        OUT_RING(ring, CP_REG(REG_A2XX_RB_SURFACE_INFO));