[Mesa-dev] [PATCH 4/4] gallium/llvmpipe: Enable support bptc format.

Denis Pauk pauk.denis at gmail.com
Thu Jun 14 20:20:04 UTC 2018


---
 src/gallium/drivers/llvmpipe/lp_screen.c      | 3 +--
 src/gallium/drivers/llvmpipe/lp_test_format.c | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c
index f12ad09298..c1a2fd3379 100644
--- a/src/gallium/drivers/llvmpipe/lp_screen.c
+++ b/src/gallium/drivers/llvmpipe/lp_screen.c
@@ -533,8 +533,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;
    }
diff --git a/src/gallium/drivers/llvmpipe/lp_test_format.c b/src/gallium/drivers/llvmpipe/lp_test_format.c
index e9a6e01fdc..a8aa33d8ae 100644
--- a/src/gallium/drivers/llvmpipe/lp_test_format.c
+++ b/src/gallium/drivers/llvmpipe/lp_test_format.c
@@ -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;
       }
 
-- 
2.17.1



More information about the mesa-dev mailing list