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 30de9ec1e32515fe52ed79e3040b2629c10b5d9f..0b73162abd9f6995bb82bf2ca2cbb573388746e6 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) {