aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/jumper/SkJumper.h
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2017-05-20 13:21:59 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-05-20 17:47:43 +0000
commit5d7f2b5301f82334ae0eb70b54bad01a0eb04062 (patch)
treec21f939c4bf13d4218c03878e18b36fa71bbabeb /src/jumper/SkJumper.h
parent9f52e98e60ea763c5d6f80e7d7fbc6da7c48559b (diff)
tidy up dither stage
Using the float iota was just an expedient to write the stage... this CL adds the U32 iota that dither really wants. Change-Id: I7990b10afd0c5277186b6b8e730245d291bcef0c Reviewed-on: https://skia-review.googlesource.com/17441 Reviewed-by: Herb Derby <herb@google.com> Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'src/jumper/SkJumper.h')
-rw-r--r--src/jumper/SkJumper.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/jumper/SkJumper.h b/src/jumper/SkJumper.h
index 7dc88cee04..7d6d0afa31 100644
--- a/src/jumper/SkJumper.h
+++ b/src/jumper/SkJumper.h
@@ -51,7 +51,8 @@
static const int SkJumper_kMaxStride = 8;
struct SkJumper_constants {
- float iota[SkJumper_kMaxStride]; // 0,1,2,3,4,...
+ float iota_F [SkJumper_kMaxStride]; // 0,1,2,3,4,...
+ uint32_t iota_U32[SkJumper_kMaxStride]; // 0,1,2,3,4,...
};
struct SkJumper_GatherCtx {