mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 03:48:06 +02:00
i965: Release aux buffer when disabling ccs
Otherwise subsequent render cycles keep on using compression and/or fast clear. Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
92d7563fba
commit
5b27405eff
1 changed files with 3 additions and 0 deletions
|
|
@ -2326,6 +2326,9 @@ intel_miptree_make_shareable(struct brw_context *brw,
|
|||
if (mt->mcs_buf) {
|
||||
intel_miptree_all_slices_resolve_color(brw, mt, 0);
|
||||
mt->no_ccs = true;
|
||||
drm_intel_bo_unreference(mt->mcs_buf->bo);
|
||||
free(mt->mcs_buf);
|
||||
mt->mcs_buf = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue