diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-06-26 16:38:50 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-06-28 15:10:05 -0700 |
commit | 9de4325b27934f0ad944b78e9200cd09d8d8cd14 (patch) | |
tree | ad24b2dd7780a6006a24093ef0835b3bad56471c | |
parent | e8ae998c1ba48d9e18db3d9e18bb75bee962096a (diff) |
panfrost: Disable DXT-style texture compression
Signed-off-by: Alyssa Rosenzweig <[email protected]>
-rw-r--r-- | src/gallium/drivers/panfrost/pan_screen.c | 4 |
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; } |