summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-03-08 08:17:12 +0100
committerMarek Olšák <[email protected]>2011-03-08 08:17:12 +0100
commit6051f26b78917d430e7f4eb9b92b20de17aea4cc (patch)
treee7a81153eaa8762f15e96fe76f55c741584afbe6
parent4dfcf3c4fe6edd1785348f4f6fc1ef0af2fff6f6 (diff)
r300g: use pipelined transfers for RGTC textures
-rw-r--r--src/gallium/drivers/r300/r300_transfer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_transfer.c b/src/gallium/drivers/r300/r300_transfer.c
index 30de9ec1e32..0b73162abd9 100644
--- a/src/gallium/drivers/r300/r300_transfer.c
+++ b/src/gallium/drivers/r300/r300_transfer.c
@@ -100,7 +100,8 @@ r300_texture_get_transfer(struct pipe_context *ctx,
}
blittable = desc->layout == UTIL_FORMAT_LAYOUT_PLAIN ||
- desc->layout == UTIL_FORMAT_LAYOUT_S3TC;
+ desc->layout == UTIL_FORMAT_LAYOUT_S3TC ||
+ desc->layout == UTIL_FORMAT_LAYOUT_RGTC;
trans = CALLOC_STRUCT(r300_transfer);
if (trans) {