diff options
author | Nanley Chery <[email protected]> | 2017-01-05 06:58:03 -0800 |
---|---|---|
committer | Nanley Chery <[email protected]> | 2017-01-11 17:35:59 -0800 |
commit | 5857858aa6c869f4eed31029a376876f50bd6a62 (patch) | |
tree | c43dc4951c8982552cee32a2c3bb3deb51999dcd | |
parent | 9f1d3a0c971e95c9e04cf6bfcd60f8b0d8c6742b (diff) |
anv/image: Disable HiZ for depth buffer arrays
We currently don't perform clears or resolves on multiple array layers
with HiZ.
Cc: [email protected]
Signed-off-by: Nanley Chery <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
-rw-r--r-- | src/intel/vulkan/anv_image.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 { |