From 05f5fa661f368b55a4105f7515f20aeae4025c52 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Thu, 30 May 2019 10:26:43 +0200 Subject: [PATCH] radv: enable HTILE for images that might need variable sample locations This is now supported. Signed-off-by: Samuel Pitoiset Reviewed-By: Bas Nieuwenhuizen --- src/amd/vulkan/radv_image.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/amd/vulkan/radv_image.c b/src/amd/vulkan/radv_image.c index afb426fc3c5..777af25445c 100644 --- a/src/amd/vulkan/radv_image.c +++ b/src/amd/vulkan/radv_image.c @@ -76,13 +76,6 @@ radv_use_tc_compat_htile_for_image(struct radv_device *device, (pCreateInfo->flags & VK_IMAGE_CREATE_EXTENDED_USAGE_BIT)) return false; - /* TODO: Implement layout transitions with variable sample locations - * before enabling HTILE for depth/stencil images created with this - * flags because the depth decompress pass needs to know them. - */ - if (pCreateInfo->flags & VK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXT) - return false; - if (pCreateInfo->tiling == VK_IMAGE_TILING_LINEAR) return false; -- 2.30.2