mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2024-12-03 21:23:15 +00:00
i965/gen9: Disable MCS for 1x color surfaces
Fast color clears are disabled for gen9 (see the checks in brw_meta_fast_clear), so there is no reason to allocate the MCS and track its clear/resolve state. Reviewed-by: Neil Roberts <neil@linux.intel.com>
This commit is contained in:
parent
4c4ba5a8c3
commit
dcd59a9e32
@ -201,6 +201,14 @@ intel_miptree_supports_non_msrt_fast_clear(struct brw_context *brw,
|
||||
if (brw->gen < 7)
|
||||
return false;
|
||||
|
||||
if (brw->gen >= 9) {
|
||||
/* FINISHME: Enable singlesample fast MCS clears on SKL after all GPU
|
||||
* FINISHME: hangs are resolved.
|
||||
*/
|
||||
perf_debug("singlesample fast MCS clears disabled on gen9");
|
||||
return false;
|
||||
}
|
||||
|
||||
if (mt->disable_aux_buffers)
|
||||
return false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user