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

Author: Dave Airlie <airl...@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.
     */

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to