Mesa (master): r600g: don' t call inval_shader_cache in r600_context_flush twice

Marek Olšák mareko at kemper.freedesktop.org
Tue Jul 17 19:56:11 UTC 2012


Module: Mesa
Branch: master
Commit: f4f2e8ebe1bad91b2c4339a8280d516738bd27d2
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f4f2e8ebe1bad91b2c4339a8280d516738bd27d2

Author: Marek Olšák <maraeo at gmail.com>
Date:   Sat Jul 14 04:18:49 2012 +0200

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 files changed, 0 insertions(+), 1 deletions(-)

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. */




More information about the mesa-commit mailing list