anv: Enable multi-layer aux-map init for HIZ+CCS
authorNanley Chery <nanley.g.chery@intel.com>
Wed, 7 Oct 2020 15:36:28 +0000 (08:36 -0700)
committerMarge Bot <eric+marge@anholt.net>
Thu, 8 Oct 2020 20:47:24 +0000 (20:47 +0000)
commitcce6fc3b5c791f656b043b1d67052b685fdc00be
tree3f9a5fc642ec43548c7d31c5d09b009016bdd80d
parent624a2aad66999ca53b05fd13c0957de8e59ac61e
anv: Enable multi-layer aux-map init for HIZ+CCS

Fixes rendering corruption in the shadowmappingcascade Sascha Willems
Vulkan demo. To see the corruption, I adjusted the demo options as
follows:

 1. Enable "Display depth map"
 2. Set "Split lambda" to 0.100
 3. Make "Cascade" non-zero.

Fixes: 80ffbe915fe ("anv: Add support for HiZ+CCS")
Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7046>
src/intel/vulkan/genX_cmd_buffer.c