r300g: use pipelined transfers for RGTC textures
authorMarek Olšák <maraeo@gmail.com>
Tue, 8 Mar 2011 07:17:12 +0000 (08:17 +0100)
committerMarek Olšák <maraeo@gmail.com>
Tue, 8 Mar 2011 07:17:12 +0000 (08:17 +0100)
src/gallium/drivers/r300/r300_transfer.c

index 30de9ec..0b73162 100644 (file)
@@ -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) {