summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-05-25 12:14:52 -0700
committerJason Ekstrand <[email protected]>2017-06-07 22:18:53 -0700
commit79df134d563053530f0089e42b3878feddced64e (patch)
treeea30c46ebffcde81f86ed8a87c142cbe3b499fdf /src
parent49e4d8cce2276cec0fcf56b7fa2be53f5501a78c (diff)
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 <[email protected]> Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_context.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c
index 33b13a4cf09..0ef22c8b0af 100644
--- a/src/mesa/drivers/dri/i965/brw_context.c
+++ b/src/mesa/drivers/dri/i965/brw_context.c
@@ -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);
+ }
}
}