From 3acc15f4f0d19e56d763f5e0e10e5fb7991b3959 Mon Sep 17 00:00:00 2001 From: Denis Pauk Date: Sat, 14 Dec 2019 09:54:48 +0200 Subject: [PATCH] gallium/swr: Enable support bptc format. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reuse Code from: f69bc797e1 gallium/auxiliary: Add helper support for bptc format compress/decompress Signed-off-by: Denis Pauk Reviewed-by: Bruce Cherniak Reviewed-by: Dave Airlie CC: Marek Olšák CC: Tim Rowley --- src/gallium/drivers/swr/swr_screen.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gallium/drivers/swr/swr_screen.cpp b/src/gallium/drivers/swr/swr_screen.cpp index e54be2dc35b..b2e3132b2a7 100644 --- a/src/gallium/drivers/swr/swr_screen.cpp +++ b/src/gallium/drivers/swr/swr_screen.cpp @@ -141,8 +141,7 @@ swr_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 || format_desc->layout == UTIL_FORMAT_LAYOUT_FXT1) { return false; -- 2.30.2