r600g: disable hardware blit for stream texture

This commit is contained in:
Christian König 2010-11-26 21:44:22 +01:00
parent cfe489b897
commit a981d62c97

View file

@ -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);