From: Denis Pauk Date: Tue, 26 Jun 2018 20:30:52 +0000 (+0300) Subject: gallium/llvmpipe: Enable support bptc format. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2854c0f795b58fc28e9fcf9765b1b4e5faf3575f;p=mesa.git gallium/llvmpipe: Enable support bptc format. v2: none v3: none Signed-off-by: Denis Pauk CC: Marek Olšák CC: Rhys Perry CC: Matt Turner Signed-off-by: Marek Olšák --- diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c index 28dbd9908f9..9921a941d58 100644 --- a/src/gallium/drivers/llvmpipe/lp_screen.c +++ b/src/gallium/drivers/llvmpipe/lp_screen.c @@ -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; } diff --git a/src/gallium/drivers/llvmpipe/lp_test_format.c b/src/gallium/drivers/llvmpipe/lp_test_format.c index e9a6e01fdcb..a8aa33d8ae9 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; }