r600g: don't call inval_shader_cache in r600_context_flush twice
authorMarek Olšák <maraeo@gmail.com>
Sat, 14 Jul 2012 02:18:49 +0000 (04:18 +0200)
committerMarek Olšák <maraeo@gmail.com>
Tue, 17 Jul 2012 19:22:14 +0000 (21:22 +0200)
It's already called in r600_constant_buffers_dirty.

src/gallium/drivers/r600/r600_hw_context.c

index e80f39cb7041d8aded6b26fb4c769b2e4bb8fcdf..2951b86b7756aef9201daf7a417c44c6cd695861 100644 (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. */