diff options
author | Vasily Khoruzhick <[email protected]> | 2020-03-03 22:05:52 -0800 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-03-10 02:41:27 +0000 |
commit | 251c6991a3a3b6f25239ef746f786e91a7553798 (patch) | |
tree | a67ec86684ce7509160390fb0f427e21e1232fa1 /src/gallium/drivers/lima/lima_resource.h | |
parent | 53d6bb9fc633a4d0ad99c25ac4a9ca09f12d87bf (diff) |
lima: enable minmax cache for index buffers
Re-use minmax cache for index buffers from panfrost.
Reviewed-by: Andreas Baierl <[email protected]>
Signed-off-by: Vasily Khoruzhick <[email protected]>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4051>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4051>
Diffstat (limited to 'src/gallium/drivers/lima/lima_resource.h')
-rw-r--r-- | src/gallium/drivers/lima/lima_resource.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/lima/lima_resource.h b/src/gallium/drivers/lima/lima_resource.h index d1f15eb5024..0b2d150b5ee 100644 --- a/src/gallium/drivers/lima/lima_resource.h +++ b/src/gallium/drivers/lima/lima_resource.h @@ -31,6 +31,7 @@ #define LIMA_MAX_MIP_LEVELS 13 struct lima_screen; +struct panfrost_minmax_cache; struct lima_resource_level { uint32_t width; @@ -52,6 +53,7 @@ struct lima_resource { struct lima_damage_region damage; struct renderonly_scanout *scanout; struct lima_bo *bo; + struct panfrost_minmax_cache *index_cache; bool tiled; struct lima_resource_level levels[LIMA_MAX_MIP_LEVELS]; |