Module: Mesa
Branch: 18.1
Commit: 38d328c391ebcd4ebb8d9b4df480093ef651ab0f
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=38d328c391ebcd4ebb8d9b4df480093ef651ab0f

Author: Jose Fonseca <[email protected]>
Date:   Tue Jul 24 13:57:05 2018 +0100

gallium/tests: Don't ignore S3TC errors.

Now we do full S3TC decompression they should no longer fail.

Reviewed-by: Roland Scheidegger <[email protected]>
Fixes: 34cf3c43bee ("mesa: Call DXTn functions directly")

---

 src/gallium/tests/unit/u_format_test.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/gallium/tests/unit/u_format_test.c 
b/src/gallium/tests/unit/u_format_test.c
index 6de581fd04..437cc94b75 100644
--- a/src/gallium/tests/unit/u_format_test.c
+++ b/src/gallium/tests/unit/u_format_test.c
@@ -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");

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to