Mesa (master): r300g: use pipelined transfers for RGTC textures

Marek Olšák mareko at kemper.freedesktop.org
Tue Mar 8 07:27:18 UTC 2011


Module: Mesa
Branch: master
Commit: 6051f26b78917d430e7f4eb9b92b20de17aea4cc
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6051f26b78917d430e7f4eb9b92b20de17aea4cc

Author: Marek Olšák <maraeo at gmail.com>
Date:   Tue Mar  8 08:17:12 2011 +0100

r300g: use pipelined transfers for RGTC textures

---

 src/gallium/drivers/r300/r300_transfer.c |    3 ++-
 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 30de9ec..0b73162 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) {




More information about the mesa-commit mailing list