From 530130e74f35ebdc811f2d26167bf6e00abfc2db Mon Sep 17 00:00:00 2001 From: Denis Pauk Date: Tue, 26 Jun 2018 23:30:51 +0300 Subject: [PATCH] gallium/softpipe: Enable support bptc format. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit v2: none v3: none Signed-off-by: Denis Pauk CC: Marek Olšák CC: Rhys Perry Signed-off-by: Marek Olšák --- src/gallium/drivers/softpipe/sp_screen.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gallium/drivers/softpipe/sp_screen.c b/src/gallium/drivers/softpipe/sp_screen.c index 8fbcbc8bac2..ed8f8d9112d 100644 --- a/src/gallium/drivers/softpipe/sp_screen.c +++ b/src/gallium/drivers/softpipe/sp_screen.c @@ -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; }