gallium/tests: Don't ignore S3TC errors.
authorJose Fonseca <jfonseca@vmware.com>
Tue, 24 Jul 2018 12:57:05 +0000 (13:57 +0100)
committerJose Fonseca <jfonseca@vmware.com>
Tue, 24 Jul 2018 14:58:14 +0000 (15:58 +0100)
Now we do full S3TC decompression they should no longer fail.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/tests/unit/u_format_test.c

index 6de581f..437cc94 100644 (file)
@@ -380,11 +380,6 @@ test_format_unpack_rgba_8unorm(const struct util_format_description *format_desc
    if (util_is_double_nan(test->unpacked[0][0][0]))
       success = TRUE;
 
-   /* Ignore S3TC errors */
-   if (format_desc->layout == UTIL_FORMAT_LAYOUT_S3TC) {
-      success = TRUE;
-   }
-
    if (!success) {
       print_unpacked_rgba_8unorm(format_desc, "FAILED: ", unpacked, " obtained\n");
       print_unpacked_rgba_8unorm(format_desc, "        ", expected, " expected\n");