summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorChristian König <[email protected]>2010-11-26 21:44:22 +0100
committerChristian König <[email protected]>2010-11-26 21:44:22 +0100
commita981d62c9781cd204aaec643b0f6115496f01789 (patch)
tree2f678c9a7c267eaa4eedbd89951eab3f58eb99b0 /src/gallium
parentcfe489b89723117e56674c2be7761c201f8d78ff (diff)
r600g: disable hardware blit for stream texture
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/r600/r600_texture.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_texture.c b/src/gallium/drivers/r600/r600_texture.c
index ec7bd0d75cd..65d6acb9e4c 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);