From 5857858aa6c869f4eed31029a376876f50bd6a62 Mon Sep 17 00:00:00 2001 From: Nanley Chery Date: Thu, 5 Jan 2017 06:58:03 -0800 Subject: [PATCH] anv/image: Disable HiZ for depth buffer arrays We currently don't perform clears or resolves on multiple array layers with HiZ. Cc: mesa-stable@lists.freedesktop.org Signed-off-by: Nanley Chery Reviewed-by: Jason Ekstrand --- 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 e60373a1513..f262d8a5240 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.30.2