[Mesa-dev] [PATCH 7/8] radv: enable HTILE for images that might need variable sample locations

Samuel Pitoiset samuel.pitoiset at gmail.com
Thu May 30 14:05:20 UTC 2019


This is now supported.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
---
 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 b69dda39ce1..161997ae196 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.21.0



More information about the mesa-dev mailing list