From 9de4325b27934f0ad944b78e9200cd09d8d8cd14 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Wed, 26 Jun 2019 16:38:50 -0700 Subject: panfrost: Disable DXT-style texture compression Signed-off-by: Alyssa Rosenzweig --- src/gallium/drivers/panfrost/pan_screen.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/gallium/drivers/panfrost/pan_screen.c') diff --git a/src/gallium/drivers/panfrost/pan_screen.c b/src/gallium/drivers/panfrost/pan_screen.c index 17e9287b537..ddb0b7f75fd 100644 --- a/src/gallium/drivers/panfrost/pan_screen.c +++ b/src/gallium/drivers/panfrost/pan_screen.c @@ -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; } -- cgit v1.2.3