anv: Allocate space for aux-map CCS in image bindings
authorNanley Chery <nanley.g.chery@intel.com>
Fri, 25 Aug 2023 19:24:27 +0000 (15:24 -0400)
committerMarge Bot <emma+marge@anholt.net>
Mon, 23 Oct 2023 21:37:24 +0000 (21:37 +0000)
commitcd12eec4966cf439ceb734971f00b6f370788e61
tree54de7e1e97cae39fcb1cc3eb7483bed35cbb7123
parent5e0725514894efdd7f8f8cc527e4f5d63d3dee9e
anv: Allocate space for aux-map CCS in image bindings

This makes images a bit larger by reserving space to store the
compression control surface when the device uses an aux-map.

This space is not used currently because anv still maps main surface
addresses to space at the end of the anv_bo.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jianxun Zhang <jianxun.zhang@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25003>
src/intel/vulkan/anv_image.c
src/intel/vulkan/anv_private.h