lima: also check tiled and depth case when import
authorQiang Yu <yuq825@gmail.com>
Mon, 30 Mar 2020 02:54:08 +0000 (10:54 +0800)
committerMarge Bot <eric+marge@anholt.net>
Tue, 31 Mar 2020 01:40:29 +0000 (01:40 +0000)
commit4de35bed423a9e4204498b83b5be7f16399363bc
treea1bb9e07d14ec80f4ea692ea2b2b60873bd7103d
parente46b2ef7243a7f916b7d77f3495bea26f4f24d62
lima: also check tiled and depth case when import

We missed the tiled and depth case when check buffer alignment.

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