[Mesa-dev] [PATCH 2/2] llvmpipe: enable RGTC after u_format fix.

Dave Airlie airlied at gmail.com
Sun Nov 6 11:34:04 PST 2011


From: Dave Airlie <airlied at redhat.com>

The two piglit tests pass + render correctly.

Signed-off-by: Dave Airlie <airlied at redhat.com>
---
 src/gallium/drivers/llvmpipe/lp_screen.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c
index fb5d138..db3fbb9 100644
--- a/src/gallium/drivers/llvmpipe/lp_screen.c
+++ b/src/gallium/drivers/llvmpipe/lp_screen.c
@@ -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.
     */
-- 
1.7.6.4



More information about the mesa-dev mailing list