projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd73460
)
gallium/tests: Don't ignore S3TC errors.
author
Jose Fonseca
<jfonseca@vmware.com>
Tue, 24 Jul 2018 12:57:05 +0000
(13:57 +0100)
committer
Jose 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
patch
|
blob
|
history
diff --git
a/src/gallium/tests/unit/u_format_test.c
b/src/gallium/tests/unit/u_format_test.c
index
6de581f
..
437cc94
100644
(file)
--- 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");