commit | cb67096b61f699b047fe8635984db1ac708a7b99 | [log] [tgz] |
---|---|---|
author | Ethan Nicholas <ethannicholas@google.com> | Thu Apr 20 19:31:52 2017 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Thu Apr 20 23:57:21 2017 +0000 |
tree | 3a8bda0962ad77d0d9ccb1d89c15f70578a7fe78 | |
parent | e79b473714866682dea85b66c005c5bb2ff6a397 [diff] [blame] |
Improved skslc optimizer, particularly around vectors. BUG=skia: Change-Id: Idb364d9198f2ff84aad1eb68e236fb45ec1c86b7 Reviewed-on: https://skia-review.googlesource.com/8000 Commit-Queue: Ethan Nicholas <ethannicholas@google.com> Reviewed-by: Ben Wagner <benjaminwagner@google.com>
diff --git a/src/sksl/SkSLGLSLCodeGenerator.h b/src/sksl/SkSLGLSLCodeGenerator.h index ab88d50..65be7dc 100644 --- a/src/sksl/SkSLGLSLCodeGenerator.h +++ b/src/sksl/SkSLGLSLCodeGenerator.h
@@ -145,6 +145,8 @@ void writeStatement(const Statement& s); + void writeStatements(const std::vector<std::unique_ptr<Statement>>& statements); + void writeBlock(const Block& b); void writeIfStatement(const IfStatement& stmt);