From: Christian König Date: Fri, 26 Nov 2010 20:44:22 +0000 (+0100) Subject: r600g: disable hardware blit for stream texture X-Git-Tag: 062012170305~4979^2~334 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a981d62c9781cd204aaec643b0f6115496f01789;p=profile%2Fivi%2Fmesa.git r600g: disable hardware blit for stream texture --- diff --git a/src/gallium/drivers/r600/r600_texture.c b/src/gallium/drivers/r600/r600_texture.c index ec7bd0d..65d6acb 100644 --- a/src/gallium/drivers/r600/r600_texture.c +++ b/src/gallium/drivers/r600/r600_texture.c @@ -575,7 +575,8 @@ struct pipe_transfer* r600_texture_get_transfer(struct pipe_context *ctx, use_staging_texture = TRUE; if (!permit_hardware_blit(ctx->screen, texture) || - (texture->flags & R600_RESOURCE_FLAG_TRANSFER)) + (texture->flags & R600_RESOURCE_FLAG_TRANSFER) || + (texture->usage == PIPE_USAGE_STREAM)) use_staging_texture = FALSE; trans = CALLOC_STRUCT(r600_transfer);