gallium/softpipe: Enable support bptc format.
authorDenis Pauk <pauk.denis@gmail.com>
Tue, 26 Jun 2018 20:30:51 +0000 (23:30 +0300)
committerMarek Olšák <marek.olsak@amd.com>
Sun, 1 Jul 2018 19:42:37 +0000 (15:42 -0400)
v2: none
v3: none

Signed-off-by: Denis Pauk <pauk.denis@gmail.com>
CC: Marek Olšák <maraeo@gmail.com>
CC: Rhys Perry <pendingchaos02@gmail.com>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/softpipe/sp_screen.c

index 8fbcbc8bac2d4d863f0abf92a6bb7d844483380c..ed8f8d9112db1721986cf206781ed3d728696170 100644 (file)
@@ -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;
    }