r600g: disable staging upload for now
authorChristian König <deathsimple@vodafone.de>
Sun, 21 Nov 2010 12:58:23 +0000 (13:58 +0100)
committerChristian König <deathsimple@vodafone.de>
Sun, 21 Nov 2010 12:58:23 +0000 (13:58 +0100)
src/gallium/drivers/r600/r600_texture.c

index e719f7fb9836ac09b81e931fbd96b9926ae2ca7e..a5ac75736f0762b835d31658424587bcae95f36a 100644 (file)
@@ -546,8 +546,8 @@ struct pipe_transfer* r600_texture_get_transfer(struct pipe_context *ctx,
                        PIPE_TRANSFER_UNSYNCHRONIZED)))
                 use_staging_texture = TRUE;
 
-        if (!permit_hardware_blit(ctx->screen, texture) ||
-            (texture->flags & R600_RESOURCE_FLAG_TRANSFER))
+        /*if (!permit_hardware_blit(ctx->screen, texture) ||
+            (texture->flags & R600_RESOURCE_FLAG_TRANSFER))*/
                 use_staging_texture = FALSE;
 
        trans = CALLOC_STRUCT(r600_transfer);