aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-07-14 04:18:49 +0200
committerMarek Olšák <[email protected]>2012-07-17 21:22:14 +0200
commitf4f2e8ebe1bad91b2c4339a8280d516738bd27d2 (patch)
tree5ea09f1968e6cc872ca6b847d55c78deeb19d311
parent6694a68d890a9aa491b5c3e8a576318bb6124e21 (diff)
r600g: don't call inval_shader_cache in r600_context_flush twice
It's already called in r600_constant_buffers_dirty.
-rw-r--r--src/gallium/drivers/r600/r600_hw_context.c1
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 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. */