Mesa (main): ac/surface: correct a comment about DCC image stores
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sat Sep 25 09:07:05 UTC 2021
Module: Mesa
Branch: main
Commit: a198c6b7dd5dc6a28abc6745ef6640a7dbe3ece5
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a198c6b7dd5dc6a28abc6745ef6640a7dbe3ece5
Author: Marek Olšák <marek.olsak at amd.com>
Date: Mon Sep 20 07:38:24 2021 -0400
ac/surface: correct a comment about DCC image stores
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13013>
---
src/amd/common/ac_surface.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/amd/common/ac_surface.c b/src/amd/common/ac_surface.c
index b3611124d7b..7b80bae0731 100644
--- a/src/amd/common/ac_surface.c
+++ b/src/amd/common/ac_surface.c
@@ -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;
More information about the mesa-commit
mailing list