r600g: don't call inval_shader_cache in r600_context_flush twice

It's already called in r600_constant_buffers_dirty.
This commit is contained in:
Marek Olšák 2012-07-14 04:18:49 +02:00
parent 6694a68d89
commit f4f2e8ebe1

View file

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