From: Marek Olšák Date: Sat, 14 Jul 2012 02:18:49 +0000 (+0200) Subject: r600g: don't call inval_shader_cache in r600_context_flush twice X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f4f2e8ebe1bad91b2c4339a8280d516738bd27d2;p=mesa.git r600g: don't call inval_shader_cache in r600_context_flush twice It's already called in r600_constant_buffers_dirty. --- diff --git a/src/gallium/drivers/r600/r600_hw_context.c b/src/gallium/drivers/r600/r600_hw_context.c index e80f39cb704..2951b86b775 100644 --- a/src/gallium/drivers/r600/r600_hw_context.c +++ b/src/gallium/drivers/r600/r600_hw_context.c @@ -1276,7 +1276,6 @@ void r600_context_flush(struct r600_context *ctx, unsigned flags) /* Invalidate caches. */ r600_inval_vertex_cache(ctx); r600_inval_texture_cache(ctx); - r600_inval_shader_cache(ctx); r600_flush_framebuffer(ctx, false); /* Re-emit states. */