commit | 135e2376563205533c4638a4ef15816b4eb022c1 | [log] [tgz] |
---|---|---|
author | Ethan Nicholas <ethannicholas@google.com> | Tue Sep 29 10:21:29 2020 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Tue Sep 29 16:49:15 2020 +0000 |
tree | 6056382fa5e97b1c182242a9fa02e9b04500f056 | |
parent | 4b6f37d90277ae23ea82c06d6aee587e92110ba0 [diff] [blame] |
moved SkSL FloatLiteral data into IRNode Change-Id: Ic39e3e8169218cfdd0e1eee274858cc421abec7e Reviewed-on: https://skia-review.googlesource.com/c/skia/+/320221 Commit-Queue: Ethan Nicholas <ethannicholas@google.com> Reviewed-by: John Stiles <johnstiles@google.com>
diff --git a/src/sksl/SkSLMetalCodeGenerator.cpp b/src/sksl/SkSLMetalCodeGenerator.cpp index 976b4b9..de89150 100644 --- a/src/sksl/SkSLMetalCodeGenerator.cpp +++ b/src/sksl/SkSLMetalCodeGenerator.cpp
@@ -919,7 +919,7 @@ } void MetalCodeGenerator::writeFloatLiteral(const FloatLiteral& f) { - this->write(to_string(f.fValue)); + this->write(to_string(f.value())); } void MetalCodeGenerator::writeSetting(const Setting& s) {