mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-02 19:40:26 +01:00
i965: Remove an unneeded render_cache_set_check_flush
This is only needed to fix rendering corruptions caused by not flushing after doing a resolve operation. The resolve now does all the needed flushing so this is unnecessary. Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com> Reviewed-by: Chad Versace <chadversary@chromium.org>
This commit is contained in:
parent
49e4d8cce2
commit
79df134d56
1 changed files with 3 additions and 3 deletions
|
|
@ -284,12 +284,12 @@ intel_update_state(struct gl_context * ctx, GLuint new_state)
|
|||
const struct intel_renderbuffer *irb =
|
||||
intel_renderbuffer(fb->_ColorDrawBuffers[i]);
|
||||
|
||||
if (irb &&
|
||||
if (irb) {
|
||||
intel_miptree_resolve_color(brw, irb->mt,
|
||||
irb->mt_level, 1,
|
||||
irb->mt_layer, irb->layer_count,
|
||||
INTEL_MIPTREE_IGNORE_CCS_E))
|
||||
brw_render_cache_set_check_flush(brw, irb->mt->bo);
|
||||
INTEL_MIPTREE_IGNORE_CCS_E);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue