lima: remove partial clear support from pipe->clear()
authorErico Nunes <nunes.erico@gmail.com>
Thu, 19 Sep 2019 19:08:05 +0000 (21:08 +0200)
committerErico Nunes <nunes.erico@gmail.com>
Mon, 23 Sep 2019 10:19:10 +0000 (12:19 +0200)
commitab49a0e74671fb13ce72f839403cfc82f76e4217
tree0368dd868136e55f69514641190b31a00a03443b
parent0c6ca0a647851f20967c1c161532ed799cde0368
lima: remove partial clear support from pipe->clear()

pipe->clear() is not called for partial clears, which mesa emulates by
drawing a quad.
Furthermore, drivers should not use rasterizer state information for
scissor information (which was being used to handle the partial clears).
So, remove the partial clear support since it was not supposed to be
handled by pipe->clear() anyway.
This fixes issues with clearing after switching to different sized
framebuffers.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
Reviewed-by: Qiang Yu <yuq825@gmail.com>
src/gallium/drivers/lima/lima_draw.c