From bdf103894026238c7e896eccb995b141161bfb70 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Tue, 8 Mar 2011 00:28:33 +0100 Subject: st/mesa: remove unnecessary flushes The framebuffer cache flush should be implicit when calling set_framebuffer_state. There is no need to flush the command stream either. --- src/gallium/auxiliary/util/u_gen_mipmap.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/gallium/auxiliary/util') diff --git a/src/gallium/auxiliary/util/u_gen_mipmap.c b/src/gallium/auxiliary/util/u_gen_mipmap.c index 4f1b0e71934..2b30d555033 100644 --- a/src/gallium/auxiliary/util/u_gen_mipmap.c +++ b/src/gallium/auxiliary/util/u_gen_mipmap.c @@ -1660,8 +1660,6 @@ util_gen_mipmap(struct gen_mipmap_state *ctx, 4, /* verts */ 2); /* attribs/vert */ - pipe->flush(pipe, PIPE_FLUSH_RENDER_CACHE, NULL); - /* need to signal that the texture has changed _after_ rendering to it */ pipe_surface_reference( &surf, NULL ); } -- cgit v1.2.3