anv: Enable HiZ on multi-layer depth buffers.
[mesa.git] / src / intel / vulkan / anv_image.c
index 5d7845d721af21d05735853135830a5811a71259..22ec8b767995bad50bcc14b4cc5cc308fb9f35da 100644 (file)
@@ -388,12 +388,6 @@ add_aux_surface_if_supported(struct anv_device *device,
          return VK_SUCCESS;
       }
 
-      if (image->array_size > 1) {
-         anv_perf_warn(device, image,
-                       "Implement multi-arrayLayer HiZ clears and resolves");
-         return VK_SUCCESS;
-      }
-
       if (device->info.gen == 8 && image->samples > 1) {
          anv_perf_warn(device, image, "Enable gen8 multisampled HiZ");
          return VK_SUCCESS;