[Mesa-dev] [PATCH 7/7] panfrost: Disable DXT-style texture compression
Alyssa Rosenzweig
alyssa.rosenzweig at collabora.com
Thu Jun 27 13:12:27 UTC 2019
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
---
src/gallium/drivers/panfrost/pan_screen.c | 4 +---
1 file changed, 1 insertion(+), 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;
}
--
2.20.1
More information about the mesa-dev
mailing list