gallium/swr: Enable support bptc format.
authorDenis Pauk <pauk.denis@gmail.com>
Sat, 14 Dec 2019 07:54:48 +0000 (09:54 +0200)
committerDave Airlie <airlied@linux.ie>
Sat, 14 Dec 2019 20:02:10 +0000 (20:02 +0000)
Reuse Code from:
f69bc797e1 gallium/auxiliary: Add helper support for bptc format compress/decompress

Signed-off-by: Denis Pauk <pauk.denis@gmail.com>
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
CC: Marek Olšák <maraeo@gmail.com>
CC: Tim Rowley <timothy.o.rowley@intel.com>
src/gallium/drivers/swr/swr_screen.cpp

index e54be2dc35b76ec46c38dbcec5d73d4b210e4be2..b2e3132b2a7298c4b3acb027696d2e9a3b8cb712 100644 (file)
@@ -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;