From f4f2e8ebe1bad91b2c4339a8280d516738bd27d2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Sat, 14 Jul 2012 04:18:49 +0200 Subject: [PATCH] r600g: don't call inval_shader_cache in r600_context_flush twice It's already called in r600_constant_buffers_dirty. --- src/gallium/drivers/r600/r600_hw_context.c | 1 - 1 file changed, 1 deletion(-) 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. */ -- 2.30.2