gallium/llvmpipe: Enable support bptc format.
authorDenis Pauk <pauk.denis@gmail.com>
Tue, 26 Jun 2018 20:30:52 +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>
CC: Matt Turner <mattst88@gmail.com>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/llvmpipe/lp_screen.c
src/gallium/drivers/llvmpipe/lp_test_format.c

index 28dbd9908f9e765995d3586d8c9a603ca9aaa328..9921a941d5870cb8d59882837bb8a7458822e768 100644 (file)
@@ -534,8 +534,7 @@ llvmpipe_is_format_supported( struct pipe_screen *_screen,
       }
    }
 
-   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;
    }
index e9a6e01fdcbf16d8bc7eba4ec30e72c4a47189ae..a8aa33d8ae9e476102b44cdf0f1c70d5ff49535b 100644 (file)
@@ -388,8 +388,7 @@ test_all(unsigned verbose, FILE *fp)
       }
 
       /* missing fetch funcs */
-      if (format_desc->layout == UTIL_FORMAT_LAYOUT_BPTC ||
-          format_desc->layout == UTIL_FORMAT_LAYOUT_ASTC) {
+      if (format_desc->layout == UTIL_FORMAT_LAYOUT_ASTC) {
          continue;
       }