diff options
author | Ethan Nicholas <ethannicholas@google.com> | 2018-05-03 16:20:41 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-05-04 11:04:06 +0000 |
commit | 5226b777edeef1b8168c9cf7f4fb34a0fdc606a1 (patch) | |
tree | fb4e96ed0e6724302bd2d14e7fbe8238cb994479 /src/sksl/SkSLSPIRVCodeGenerator.h | |
parent | 452c90256c188f60bd20d918e5948d112261a0f4 (diff) |
fix for SPIR-V sk_in definition which was upsetting Intel NUC
Bug: skia:7852
Change-Id: Ife747f3531d19e69dc70c2e0b9a9c6cfe001da72
Reviewed-on: https://skia-review.googlesource.com/125743
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Reviewed-by: Chris Dalton <csmartdalton@google.com>
Diffstat (limited to 'src/sksl/SkSLSPIRVCodeGenerator.h')
-rw-r--r-- | src/sksl/SkSLSPIRVCodeGenerator.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sksl/SkSLSPIRVCodeGenerator.h b/src/sksl/SkSLSPIRVCodeGenerator.h index 8f6dcd95c0..e7bec1e558 100644 --- a/src/sksl/SkSLSPIRVCodeGenerator.h +++ b/src/sksl/SkSLSPIRVCodeGenerator.h @@ -340,6 +340,7 @@ private: SpvId fRTHeightFieldIndex = (SpvId) -1; // holds variables synthesized during output, for lifetime purposes SymbolTable fSynthetics; + int fSkInCount = 1; friend class PointerLValue; friend class SwizzleLValue; |