ac/surface: correct a comment about DCC image stores
authorMarek Olšák <marek.olsak@amd.com>
Mon, 20 Sep 2021 11:38:24 +0000 (07:38 -0400)
committerMarge Bot <eric+marge@anholt.net>
Sat, 25 Sep 2021 08:49:05 +0000 (08:49 +0000)
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13013>

src/amd/common/ac_surface.c

index b361112..7b80bae 100644 (file)
@@ -1423,7 +1423,7 @@ ASSERTED static bool is_dcc_supported_by_L2(const struct radeon_info *info,
 
    /* 128B is recommended, but 64B can be set too if needed for 4K by DCN.
     * Since there is no reason to ever disable 128B, require it.
-    * DCC image stores are always supported.
+    * If 64B is used, DCC image stores are unsupported.
     */
    return surf->u.gfx9.color.dcc.independent_128B_blocks &&
           surf->u.gfx9.color.dcc.max_compressed_block_size <= V_028C78_MAX_BLOCK_SIZE_128B;