panfrost: Disable DXT-style texture compression
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 26 Jun 2019 23:38:50 +0000 (16:38 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 28 Jun 2019 22:10:05 +0000 (15:10 -0700)
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/gallium/drivers/panfrost/pan_screen.c

index 17e9287b537f763b1dda8d802bc8cffa2dfce9da..ddb0b7f75fd352e634033f479dc09048a17c1dda 100644 (file)
@@ -492,9 +492,7 @@ panfrost_is_format_supported( struct pipe_screen *screen,
                         return FALSE;
         }
 
-        if (format_desc->layout == UTIL_FORMAT_LAYOUT_BPTC ||
-                        format_desc->layout == UTIL_FORMAT_LAYOUT_ASTC ||
-                        format_desc->layout == UTIL_FORMAT_LAYOUT_ETC) {
+        if (format_desc->layout != UTIL_FORMAT_LAYOUT_PLAIN) {
                 /* Compressed formats not yet hooked up. */
                 return FALSE;
         }