From: Nanley Chery Date: Thu, 5 Jan 2017 14:58:03 +0000 (-0800) Subject: anv/image: Disable HiZ for depth buffer arrays X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5857858aa6c869f4eed31029a376876f50bd6a62;p=mesa.git 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 --- 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 {