Skip to content

intel: Rename GFX12_CCS_E and use plain CCS_E for image writes

Nanley Chery requested to merge nchery/mesa:perf/fcv-for-rc-write into main

Rename ISL_AUX_USAGE_GFX12_CCS_E to clarify that it isn't always required on gfx12 and to be more descriptive of its rendering behavior. The new name, ISL_AUX_USAGE_FCV_CCS_E, comes from the Alchemist docs, where the feature is referred to as "Fast Clear Optimization (FCV)".

Now that it's a bit clearer that this aux usage isn't mandatory on gfx12, start using ISL_AUX_USAGE_CCS_E for image writes, which shouldn't have any automatic fast-clearing behavior. By doing this, we can avoid the COMPRESSED_CLEAR aux state in more cases. In general, avoiding that state can help prevent full resolves and partial resolves.

Ref: #8785

/cc @kwg, @jljusten, @shadeslayer

Merge request reports