iris: Drop a GFX12_CCS_E check in can_fast_clear_color

The 8 bpp restriction isn't specific to the automatic fast clear
behavior of GFX12_CCS_E. It is applicable to both GFX12_CCS_E and CCS_E.
Drop the aux usage check completely.

Reviewed-by: Rohan Garg <rohan.garg@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23220>
This commit is contained in:
Nanley Chery 2023-05-18 13:11:07 -07:00 committed by Marge Bot
parent 0f54621564
commit dcc1d1be19

View file

@ -134,7 +134,7 @@ can_fast_clear_color(struct iris_context *ice,
* to avoid stomping on other LODs.
*/
if (level > 0 && util_format_get_blocksizebits(p_res->format) == 8 &&
res->aux.usage == ISL_AUX_USAGE_GFX12_CCS_E && p_res->width0 % 64) {
p_res->width0 % 64) {
return false;
}