panfrost: split index cache into shared part
authorVasily Khoruzhick <anarsoul@gmail.com>
Wed, 4 Mar 2020 05:31:51 +0000 (21:31 -0800)
committerMarge Bot <eric+marge@anholt.net>
Tue, 10 Mar 2020 02:41:27 +0000 (02:41 +0000)
commit53d6bb9fc633a4d0ad99c25ac4a9ca09f12d87bf
treee7ec7f7344c7561adeeb1f4a03334f5230b164a6
parent040a7117c3b404f82a39cf7b2b232a2149ddfeec
panfrost: split index cache into shared part

Split it into shared part since we're going to re-use it in lima.

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4051>
src/gallium/drivers/panfrost/pan_context.c
src/gallium/drivers/panfrost/pan_resource.c
src/gallium/drivers/panfrost/pan_resource.h
src/panfrost/Makefile.sources
src/panfrost/shared/meson.build
src/panfrost/shared/pan_minmax_cache.c [new file with mode: 0644]
src/panfrost/shared/pan_minmax_cache.h [new file with mode: 0644]