Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(50)

Unified Diff: tests/SkNxTest.cpp

Issue 2347473007: Revert of Support Float32 output from SkColorSpaceXform (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/ColorSpaceXformTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/SkNxTest.cpp
diff --git a/tests/SkNxTest.cpp b/tests/SkNxTest.cpp
index a3aef6bb8e5b4e2266bacdfd2256902a25302d9c..51d937dd4dc29b25da65630981cc3417f43ad2eb 100644
--- a/tests/SkNxTest.cpp
+++ b/tests/SkNxTest.cpp
@@ -307,35 +307,3 @@
REPORTER_ASSERT(r, expected == actual);
}
}
-
-DEF_TEST(SkNx_4fLoad4Store4, r) {
- float src[] = {
- 0.0f, 1.0f, 2.0f, 3.0f,
- 4.0f, 5.0f, 6.0f, 7.0f,
- 8.0f, 9.0f, 10.0f, 11.0f,
- 12.0f, 13.0f, 14.0f, 15.0f
- };
-
- Sk4f a, b, c, d;
- Sk4f_load4(src, &a, &b, &c, &d);
- REPORTER_ASSERT(r, 0.0f == a[0]);
- REPORTER_ASSERT(r, 4.0f == a[1]);
- REPORTER_ASSERT(r, 8.0f == a[2]);
- REPORTER_ASSERT(r, 12.0f == a[3]);
- REPORTER_ASSERT(r, 1.0f == b[0]);
- REPORTER_ASSERT(r, 5.0f == b[1]);
- REPORTER_ASSERT(r, 9.0f == b[2]);
- REPORTER_ASSERT(r, 13.0f == b[3]);
- REPORTER_ASSERT(r, 2.0f == c[0]);
- REPORTER_ASSERT(r, 6.0f == c[1]);
- REPORTER_ASSERT(r, 10.0f == c[2]);
- REPORTER_ASSERT(r, 14.0f == c[3]);
- REPORTER_ASSERT(r, 3.0f == d[0]);
- REPORTER_ASSERT(r, 7.0f == d[1]);
- REPORTER_ASSERT(r, 11.0f == d[2]);
- REPORTER_ASSERT(r, 15.0f == d[3]);
-
- float dst[16];
- Sk4f_store4(dst, a, b, c, d);
- REPORTER_ASSERT(r, 0 == memcmp(dst, src, 16 * sizeof(float)));
-}
« no previous file with comments | « tests/ColorSpaceXformTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698