diff options
author | Ethan Nicholas <ethannicholas@google.com> | 2017-08-01 13:41:59 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-08-01 18:59:15 +0000 |
commit | 93061b53442ce303e9d3ef74c7eeddc034802c4f (patch) | |
tree | 28def473e41068ccd2f62614371c52ee1f14cdd9 /src/sksl/SkSLCPPCodeGenerator.h | |
parent | 4bd3b0905477ea1f005526818305c9a10ef2f6f8 (diff) |
support for 'half' types in sksl, plus general numeric type improvements
Bug: skia:
Change-Id: Id285262fda8291847f11343d499b5df62ddb4b09
Reviewed-on: https://skia-review.googlesource.com/28980
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Diffstat (limited to 'src/sksl/SkSLCPPCodeGenerator.h')
-rw-r--r-- | src/sksl/SkSLCPPCodeGenerator.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sksl/SkSLCPPCodeGenerator.h b/src/sksl/SkSLCPPCodeGenerator.h index b4f31ba1b0..27b434a0ca 100644 --- a/src/sksl/SkSLCPPCodeGenerator.h +++ b/src/sksl/SkSLCPPCodeGenerator.h @@ -39,6 +39,8 @@ private: void writeIndexExpression(const IndexExpression& i) override; + void writeIntLiteral(const IntLiteral& i) override; + void writeVariableReference(const VariableReference& ref) override; String getSamplerHandle(const Variable& var); |