[Mesa-dev] [PATCH 3/3] anv/image: Disable HiZ for depth buffer arrays

Nanley Chery nanleychery at gmail.com
Fri Jan 6 22:46:29 UTC 2017


We currently don't perform clears or resolves on multiple array layers
with HiZ.

Cc: mesa-stable at lists.freedesktop.org
Signed-off-by: Nanley Chery <nanley.g.chery at intel.com>
---
 src/intel/vulkan/anv_image.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/intel/vulkan/anv_image.c b/src/intel/vulkan/anv_image.c
index e60373a151..f262d8a524 100644
--- a/src/intel/vulkan/anv_image.c
+++ b/src/intel/vulkan/anv_image.c
@@ -186,6 +186,8 @@ make_surface(const struct anv_device *dev,
          anv_finishme("Implement gen7 HiZ");
       } else if (vk_info->mipLevels > 1) {
          anv_finishme("Test multi-LOD HiZ");
+      } else if (vk_info->arrayLayers > 1) {
+         anv_finishme("Implement multi-arrayLayer HiZ clears and resolves");
       } else if (dev->info.gen == 8 && vk_info->samples > 1) {
          anv_finishme("Test gen8 multisampled HiZ");
       } else {
-- 
2.11.0



More information about the mesa-dev mailing list