summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-06-26 16:38:50 -0700
committerAlyssa Rosenzweig <[email protected]>2019-06-28 15:10:05 -0700
commit9de4325b27934f0ad944b78e9200cd09d8d8cd14 (patch)
treead24b2dd7780a6006a24093ef0835b3bad56471c
parente8ae998c1ba48d9e18db3d9e18bb75bee962096a (diff)
panfrost: Disable DXT-style texture compression
Signed-off-by: Alyssa Rosenzweig <[email protected]>
-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;
}