Mesa (master): softpipe: enable RGTC now that we have u_format support.

Dave Airlie airlied at kemper.freedesktop.org
Wed Mar 2 05:26:27 UTC 2011


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

Author: Dave Airlie <airlied at redhat.com>
Date:   Wed Mar  2 14:36:22 2011 +1000

softpipe: enable RGTC now that we have u_format support.

---

 src/gallium/drivers/softpipe/sp_screen.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/src/gallium/drivers/softpipe/sp_screen.c b/src/gallium/drivers/softpipe/sp_screen.c
index 685fbfc..6d47fb9 100644
--- a/src/gallium/drivers/softpipe/sp_screen.c
+++ b/src/gallium/drivers/softpipe/sp_screen.c
@@ -248,11 +248,6 @@ softpipe_is_format_supported( struct pipe_screen *screen,
       return util_format_s3tc_enabled;
    }
 
-   /* u_format doesn't implement RGTC yet */
-   if (format_desc->layout == UTIL_FORMAT_LAYOUT_RGTC) {
-	return FALSE;
-   }
-
    /*
     * Everything else should be supported by u_format.
     */




More information about the mesa-commit mailing list