r600g: do not flush the uploader
authorMarek Olšák <maraeo@gmail.com>
Sun, 6 Feb 2011 20:12:19 +0000 (21:12 +0100)
committerMarek Olšák <maraeo@gmail.com>
Sun, 6 Feb 2011 20:13:58 +0000 (21:13 +0100)
src/gallium/drivers/r600/r600_pipe.c

index 45c093121da1d648af5a0a0bb0de64e8e1dd844d..1c903a0b4e1475b99c00d3a9cbc668e70a438f6d 100644 (file)
@@ -68,9 +68,6 @@ static void r600_flush(struct pipe_context *ctx, unsigned flags,
        dc++;
 #endif
        r600_context_flush(&rctx->ctx);
-
-       u_upload_flush(rctx->upload_vb);
-       u_upload_flush(rctx->upload_const);
 }
 
 static void r600_destroy_context(struct pipe_context *context)