llvmpipe: enable RGTC after u_format fix.
authorDave Airlie <airlied@redhat.com>
Sun, 6 Nov 2011 19:33:00 +0000 (19:33 +0000)
committerDave Airlie <airlied@redhat.com>
Sun, 6 Nov 2011 22:32:04 +0000 (22:32 +0000)
The two piglit tests pass + render correctly.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/llvmpipe/lp_screen.c

index fb5d13815ca83b0b4579ca8ed0bf407336001e83..db3fbb9471889134202d795678079977ec8bca32 100644 (file)
@@ -282,11 +282,6 @@ llvmpipe_is_format_supported( struct pipe_screen *_screen,
       return util_format_s3tc_enabled;
    }
 
-   /* u_format doesn't support RGTC yet */
-   if (format_desc->layout == UTIL_FORMAT_LAYOUT_RGTC) {
-      return FALSE;
-   }
-
    /*
     * Everything can be supported by u_format.
     */