commit | e96cdd18ac5ff04774b55775bf66f1f3ccbe4d62 | [log] [tgz] |
---|---|---|
author | Ethan Nicholas <ethannicholas@google.com> | Mon Sep 28 16:27:18 2020 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Mon Sep 28 21:06:43 2020 +0000 |
tree | 9c6a3283cac1996a9125faad17748582ed4e7347 | |
parent | 70025e5dac393620fcb00f5f90b875fa5e1f36d4 [diff] [blame] |
moved SkSL IntLiteral data into IRNode Change-Id: I3c6e968af6eba32eae1f1402f7603f27e949c638 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/320067 Commit-Queue: Ethan Nicholas <ethannicholas@google.com> Auto-Submit: Ethan Nicholas <ethannicholas@google.com> Reviewed-by: John Stiles <johnstiles@google.com>
diff --git a/src/sksl/SkSLCPPCodeGenerator.cpp b/src/sksl/SkSLCPPCodeGenerator.cpp index 3f3da34..1b22f46 100644 --- a/src/sksl/SkSLCPPCodeGenerator.cpp +++ b/src/sksl/SkSLCPPCodeGenerator.cpp
@@ -280,7 +280,7 @@ } void CPPCodeGenerator::writeIntLiteral(const IntLiteral& i) { - this->write(to_string((int32_t) i.fValue)); + this->write(to_string((int32_t) i.value())); } void CPPCodeGenerator::writeSwizzle(const Swizzle& swizzle) {