radv: remove incorrect comment about compressed writes to HTILE on GFX10+
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 18 Aug 2021 14:00:50 +0000 (16:00 +0200)
committerMarge Bot <eric+marge@anholt.net>
Fri, 20 Aug 2021 15:53:32 +0000 (15:53 +0000)
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 <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12450>

src/amd/vulkan/radv_image.c

index a465bdbddf073b22a4f5e7df12a3100cb82210ba..c486617166f594cdc8d346d60a3046cd4b9ae478 100644 (file)
@@ -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;