Revert "anv: Require the local heap for CCS on XeHP"
authorNanley Chery <nanley.g.chery@intel.com>
Thu, 17 Feb 2022 18:34:17 +0000 (10:34 -0800)
committerMarge Bot <emma+marge@anholt.net>
Tue, 1 Mar 2022 00:02:51 +0000 (00:02 +0000)
commitdc05615ec175cc4630291a2f1cc21ccda6cd08e1
tree575ce83cc5ccc4cdd69a547eeb1cf2529ae6d09a
parent203c8be09f7894600add91109060ed44f92702b0
Revert "anv: Require the local heap for CCS on XeHP"

This reverts commit 382f6ccda8869f72134dbfa9c3cc68a229e01138.

The spec requires that all color images created with the same tiling
(and a few other properties) support the same memoryTypeBits. So this
wasn't a valid change. It also wasn't necessary - we already have a
mechanism in anv_BindImageMemory2 for disabling compression if the BO
doesn't support it.

With this, XeHP passes the tests in
dEQP-VK.memory.requirements.*tiling_optimal

Fixes: 382f6ccd ("anv: Require the local heap for CCS on XeHP")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15068>
src/intel/vulkan/anv_image.c