mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
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:
parent
0f54621564
commit
dcc1d1be19
1 changed files with 1 additions and 1 deletions
|
|
@ -134,7 +134,7 @@ can_fast_clear_color(struct iris_context *ice,
|
||||||
* to avoid stomping on other LODs.
|
* to avoid stomping on other LODs.
|
||||||
*/
|
*/
|
||||||
if (level > 0 && util_format_get_blocksizebits(p_res->format) == 8 &&
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue