softpipe: enable RGTC now that we have u_format support.
authorDave Airlie <airlied@redhat.com>
Wed, 2 Mar 2011 04:36:22 +0000 (14:36 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 2 Mar 2011 05:30:17 +0000 (15:30 +1000)
src/gallium/drivers/softpipe/sp_screen.c

index 685fbfc308785a1422f8f8caf04a1fbe205d641a..6d47fb9628032431a1b89f67974444ba8b42d9db 100644 (file)
@@ -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.
     */