diff options
author | Ethan Nicholas <ethannicholas@google.com> | 2018-03-14 13:51:39 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-03-14 18:18:51 +0000 |
commit | 48e240573319f0e0496bf7e7a4bc1053cfed0b98 (patch) | |
tree | ba21a4df7ceb20ca60bcdee9609d0298f70d0262 /src/sksl/SkSLSPIRVCodeGenerator.h | |
parent | efbf00c8191e480c04bf5f5d431c34701d444850 (diff) |
fixed SkSL SPIR-V vector comparisons
Bug: skia:
Change-Id: I57788fe427f62e20c6e073fd96279910febef22e
Reviewed-on: https://skia-review.googlesource.com/114367
Reviewed-by: Chris Dalton <csmartdalton@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Diffstat (limited to 'src/sksl/SkSLSPIRVCodeGenerator.h')
-rw-r--r-- | src/sksl/SkSLSPIRVCodeGenerator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sksl/SkSLSPIRVCodeGenerator.h b/src/sksl/SkSLSPIRVCodeGenerator.h index 4bd8d86dd8..8f6dcd95c0 100644 --- a/src/sksl/SkSLSPIRVCodeGenerator.h +++ b/src/sksl/SkSLSPIRVCodeGenerator.h @@ -209,7 +209,7 @@ private: * same dimensions, and applys all() to it to fold it down to a single bool value. Otherwise, * returns the original id value. */ - SpvId foldToBool(SpvId id, const Type& operandType, OutputStream& out); + SpvId foldToBool(SpvId id, const Type& operandType, SpvOp op, OutputStream& out); SpvId writeMatrixComparison(const Type& operandType, SpvId lhs, SpvId rhs, SpvOp_ floatOperator, SpvOp_ intOperator, OutputStream& out); |