lima: add missing resolve check for damage and reload
authorQiang Yu <yuq825@gmail.com>
Wed, 12 Feb 2020 03:07:03 +0000 (11:07 +0800)
committerMarge Bot <eric+marge@anholt.net>
Mon, 17 Feb 2020 02:54:15 +0000 (02:54 +0000)
commitb9003111bb59635ae407b251561f1d9937d434f0
tree10ec1d771efefc6148166b074c2c842a6556af32
parent47200f5c8dda1e03ae62b8cc658574bf0b2f0fe5
lima: add missing resolve check for damage and reload

If color buffer is not touched, we do not need to reload or get
damage region from it.

Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3755>
src/gallium/drivers/lima/lima_draw.c