lima: always add texture bo to submit
authorQiang Yu <yuq825@gmail.com>
Tue, 11 Feb 2020 02:32:38 +0000 (10:32 +0800)
committerMarge Bot <eric+marge@anholt.net>
Mon, 17 Feb 2020 02:54:15 +0000 (02:54 +0000)
commit9f924c795b9520c49572b54bfab07731d4f54e6e
treebe0bb77a83504a0ee6a5125aa155a17baa978c88
parent3c4ff27250710a2f4880d0e527b86a4b39adeb1b
lima: always add texture bo to submit

No matter texture desc change, we need to add texture to submit.
Otherwise texture may be freed before submit finish.

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
src/gallium/drivers/lima/lima_texture.c