[g3dvl] remove flushing between stages
authorChristian König <deathsimple@vodafone.de>
Wed, 24 Nov 2010 18:46:51 +0000 (19:46 +0100)
committerChristian König <deathsimple@vodafone.de>
Wed, 24 Nov 2010 18:46:51 +0000 (19:46 +0100)
src/gallium/auxiliary/vl/vl_idct.c

index 87cef065e22cffeb65c27929b363316d6a1f867c..a9bee3bfac0a9f8a37559fbd010bd78adaa2334c 100644 (file)
@@ -708,8 +708,6 @@ vl_idct_flush(struct vl_idct *idct)
 
       util_draw_arrays(idct->pipe, PIPE_PRIM_QUADS, 0, idct->num_blocks * 4);
 
-      idct->pipe->flush(idct->pipe, PIPE_FLUSH_RENDER_CACHE, NULL);
-
       /* second stage */
       idct->fb_state.cbufs[0] = idct->surfaces.destination;
       idct->pipe->set_framebuffer_state(idct->pipe, &idct->fb_state);
@@ -744,8 +742,6 @@ vl_idct_flush(struct vl_idct *idct)
          idct->num_empty_blocks * 4);
    }
 
-   idct->pipe->flush(idct->pipe, PIPE_FLUSH_RENDER_CACHE, NULL);
-
    idct->num_blocks = 0;
    idct->num_empty_blocks = 0;
    xfer_buffers_map(idct);