diff options
Diffstat (limited to 'progs/gallium')
-rw-r--r-- | progs/gallium/unit/u_format_test.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/progs/gallium/unit/u_format_test.c b/progs/gallium/unit/u_format_test.c index dcdbf6548d..9883e1e41c 100644 --- a/progs/gallium/unit/u_format_test.c +++ b/progs/gallium/unit/u_format_test.c @@ -354,10 +354,8 @@ test_one(test_func_t func, const char *suffix) format_desc = util_format_description(test->format); - if (format_desc->layout == UTIL_FORMAT_LAYOUT_S3TC && - !util_format_s3tc_enabled) { + if (!util_format_is_supported(test->format)) skip = TRUE; - } if (test->format != last_format) { printf("%s util_format_%s_%s ...\n", |