r600g: remove useless texture barrier
authorMarek Olšák <maraeo@gmail.com>
Thu, 10 Nov 2011 17:47:20 +0000 (18:47 +0100)
committerMarek Olšák <maraeo@gmail.com>
Thu, 10 Nov 2011 17:49:26 +0000 (18:49 +0100)
src/gallium/drivers/r600/r600_texture.c

index b914ff3f812d769da68e77ae2e1635782984c46d..50a96b4d4da9e51d8a0263610b45f8115143690f 100644 (file)
@@ -65,8 +65,6 @@ static void r600_copy_from_staging_texture(struct pipe_context *ctx, struct r600
                                  transfer->box.x, transfer->box.y, transfer->box.z,
                                  rtransfer->staging_texture,
                                  0, &sbox);
-
-       ctx->texture_barrier(ctx);
 }
 
 unsigned r600_texture_get_offset(struct r600_resource_texture *rtex,