lima: enable minmax cache for index buffers
authorVasily Khoruzhick <anarsoul@gmail.com>
Wed, 4 Mar 2020 06:05:52 +0000 (22:05 -0800)
committerMarge Bot <eric+marge@anholt.net>
Tue, 10 Mar 2020 02:41:27 +0000 (02:41 +0000)
commit251c6991a3a3b6f25239ef746f786e91a7553798
treea67ec86684ce7509160390fb0f427e21e1232fa1
parent53d6bb9fc633a4d0ad99c25ac4a9ca09f12d87bf
lima: enable minmax cache for index buffers

Re-use minmax cache for index buffers from panfrost.

Reviewed-by: Andreas Baierl <ichgeh@imkreisrum.de>
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4051>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4051>
src/gallium/drivers/lima/lima_draw.c
src/gallium/drivers/lima/lima_resource.c
src/gallium/drivers/lima/lima_resource.h