summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/drivers/panfrost/pan_screen.c4
1 files changed, 1 insertions, 3 deletions
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;
}