[Mesa-dev] [PATCH v3 3/4] gallium/softpipe: Enable support bptc format.

Denis Pauk pauk.denis at gmail.com
Tue Jun 26 20:12:00 UTC 2018


v2: none
v3: none

Signed-off-by: Denis Pauk <pauk.denis at gmail.com>
CC: Marek Olšák <maraeo at gmail.com>
CC: Rhys Perry <pendingchaos02 at gmail.com>
---
 src/gallium/drivers/softpipe/sp_screen.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/gallium/drivers/softpipe/sp_screen.c b/src/gallium/drivers/softpipe/sp_screen.c
index 8fbcbc8bac..ed8f8d9112 100644
--- a/src/gallium/drivers/softpipe/sp_screen.c
+++ b/src/gallium/drivers/softpipe/sp_screen.c
@@ -441,8 +441,7 @@ softpipe_is_format_supported( struct pipe_screen *screen,
          return FALSE;
    }
 
-   if (format_desc->layout == UTIL_FORMAT_LAYOUT_BPTC ||
-       format_desc->layout == UTIL_FORMAT_LAYOUT_ASTC) {
+   if (format_desc->layout == UTIL_FORMAT_LAYOUT_ASTC) {
       /* Software decoding is not hooked up. */
       return FALSE;
    }
-- 
2.18.0



More information about the mesa-dev mailing list