From 067599f8bc74c71446a4a682649825dc7380743c Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Wed, 18 Aug 2021 16:00:50 +0200 Subject: [PATCH] radv: remove incorrect comment about compressed writes to HTILE on GFX10+ This seems to be unsupported. COMPRESSION_EN=1 and WRITE_COMPRESS_ENABLE=1 don't update HTILE with image stores. Note that there is no issue because depth/stencil images will be decompressed for image stores, and TC-compat HTILE is disabled. Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen Part-of: --- src/amd/vulkan/radv_image.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/amd/vulkan/radv_image.c b/src/amd/vulkan/radv_image.c index a465bdbd..c486617 100644 --- a/src/amd/vulkan/radv_image.c +++ b/src/amd/vulkan/radv_image.c @@ -2047,7 +2047,6 @@ radv_layout_is_htile_compressed(const struct radv_device *device, const struct r */ if (radv_image_is_tc_compat_htile(image) && queue_mask & (1u << RADV_QUEUE_GENERAL) && !in_render_loop && !device->instance->disable_tc_compat_htile_in_general) { - /* GFX10+ supports compressed writes to HTILE. */ return true; } else { return false; -- 2.7.4