summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_meta_clear.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/amd/vulkan/radv_meta_clear.c')
-rw-r--r--src/amd/vulkan/radv_meta_clear.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/amd/vulkan/radv_meta_clear.c b/src/amd/vulkan/radv_meta_clear.c
index b61345b9241..8805f0435e1 100644
--- a/src/amd/vulkan/radv_meta_clear.c
+++ b/src/amd/vulkan/radv_meta_clear.c
@@ -899,14 +899,6 @@ radv_image_can_fast_clear(struct radv_device *device, struct radv_image *image)
} else {
if (!radv_image_has_htile(image))
return false;
-
- /* GFX8 only supports 32-bit depth surfaces but we can enable
- * TC-compat HTILE for 16-bit surfaces if no Z planes are
- * compressed. Though, fast HTILE clears don't seem to work.
- */
- if (device->physical_device->rad_info.chip_class == VI &&
- image->vk_format == VK_FORMAT_D16_UNORM)
- return false;
}
/* Do not fast clears 3D images. */