[Mesa-dev] [PATCH 03/13] r600g: don't call inval_shader_cache in r600_context_flush twice

Marek Olšák maraeo at gmail.com
Sat Jul 14 19:35:34 PDT 2012


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 e80f39c..2951b86 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. */
-- 
1.7.9.5



More information about the mesa-dev mailing list