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:
parent
0f6251b31f
commit
a198c6b7dd
|
@ -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.
|
/* 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.
|
* 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 &&
|
return surf->u.gfx9.color.dcc.independent_128B_blocks &&
|
||||||
surf->u.gfx9.color.dcc.max_compressed_block_size <= V_028C78_MAX_BLOCK_SIZE_128B;
|
surf->u.gfx9.color.dcc.max_compressed_block_size <= V_028C78_MAX_BLOCK_SIZE_128B;
|
||||||
|
|
Loading…
Reference in New Issue