anv: Allow HiZ in read-only depth layouts
authorJason Ekstrand <jason@jlekstrand.net>
Wed, 20 Nov 2019 00:20:57 +0000 (18:20 -0600)
committerMarge Bot <eric+marge@anholt.net>
Fri, 24 Jan 2020 17:42:36 +0000 (17:42 +0000)
commit0aa13245c1898472442484814119256a62aa1336
tree08d51e9f2bbdaca5d653836501ea5f0cce9463a5
parentbf3a262a80a7b0ffd7eee15a7301f2c44683cff9
anv: Allow HiZ in read-only depth layouts

This improves the performance of Aztec Ruins by 5% on ICL.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2605>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2605>
src/intel/vulkan/anv_image.c