ac/surface: correct a comment about DCC image stores

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13013>
This commit is contained in:
Marek Olšák 2021-09-20 07:38:24 -04:00 committed by Marge Bot
parent 0f6251b31f
commit a198c6b7dd
1 changed files with 1 additions and 1 deletions

View 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;