diff options
author | 2017-05-30 14:22:49 -0400 | |
---|---|---|
committer | 2017-05-30 19:39:44 +0000 | |
commit | f81c56f3c0e676af38413365ca7b132b09e1df6f (patch) | |
tree | cfce1898ba49d1a44b1bed41cf67811f8ec3c278 /tests | |
parent | 836e6c1f7daee7aa02c0779dce2cfd59b6c1d830 (diff) |
Add arm tail code.
CQ_INCLUDE_TRYBOTS=skia.primary:Test-Android-Clang-Nexus10-CPU-Exynos5250-arm-Release-Android
Change-Id: Ia0e9f32d0324e66c9d4812dbb156a2b858d49a13
Reviewed-on: https://skia-review.googlesource.com/18127
Commit-Queue: Herb Derby <herb@google.com>
Commit-Queue: Mike Klein <mtklein@chromium.org>
Reviewed-by: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/SkRasterPipelineTest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/SkRasterPipelineTest.cpp b/tests/SkRasterPipelineTest.cpp index 63c5c89fad..5f6a0b3ff0 100644 --- a/tests/SkRasterPipelineTest.cpp +++ b/tests/SkRasterPipelineTest.cpp @@ -120,7 +120,7 @@ DEF_TEST(SkRasterPipeline_tail, r) { SkRasterPipeline_<256> p; p.append(SkRasterPipeline::load_f32, &src); p.append(SkRasterPipeline::store_f32, &dst); - p.run(0, i % 4); + p.run(0, i); for (unsigned j = 0; j < i; j++) { REPORTER_ASSERT(r, !memcmp(&data[j][0], &buffer[j][0], sizeof(buffer[j]))); @@ -149,7 +149,7 @@ DEF_TEST(SkRasterPipeline_tail, r) { SkRasterPipeline_<256> p; p.append(SkRasterPipeline::load_f16, &src); p.append(SkRasterPipeline::store_f16, &dst); - p.run(0, i % 4); + p.run(0, i); for (unsigned j = 0; j < i; j++) { REPORTER_ASSERT(r, !memcmp(&data[j][0], &buffer[j][0], sizeof(buffer[j]))); @@ -186,7 +186,7 @@ DEF_TEST(SkRasterPipeline_tail, r) { SkRasterPipeline_<256> p; p.append(SkRasterPipeline::load_rgb_u16_be, &src); p.append(SkRasterPipeline::store_f32, &dst); - p.run(0, i % 4); + p.run(0, i); for (unsigned j = 0; j < i; j++) { for (unsigned k = 0; k < 4; k++) { if (buffer[j][k] != answer[j][k]) { |