diff options
author | Ethan Nicholas <ethannicholas@google.com> | 2017-07-13 09:36:52 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-07-13 14:07:02 +0000 |
commit | 68990be759f663bafdb7c1b746adce15557cda7f (patch) | |
tree | b982e218f45fa02188bb38fe767797ff6315edcf /src/sksl/SkSLSPIRVCodeGenerator.h | |
parent | c20b5f83595073c02009ff3c0a8a77aca6ad1e71 (diff) |
Re-land of "converted GrSimpleTextureEffect to sksl"
This reverts commit baf981f71614e7a2fbe6af2726e65126d431ed8e.
Bug: skia:
Change-Id: I36f6bfb616f1ec2b89043e3a6f7cbdf473bc9588
Reviewed-on: https://skia-review.googlesource.com/22369
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Diffstat (limited to 'src/sksl/SkSLSPIRVCodeGenerator.h')
-rw-r--r-- | src/sksl/SkSLSPIRVCodeGenerator.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sksl/SkSLSPIRVCodeGenerator.h b/src/sksl/SkSLSPIRVCodeGenerator.h index 994442819a..1ce9d0c3fa 100644 --- a/src/sksl/SkSLSPIRVCodeGenerator.h +++ b/src/sksl/SkSLSPIRVCodeGenerator.h @@ -185,6 +185,9 @@ private: */ SpvId foldToBool(SpvId id, const Type& operandType, OutputStream& out); + SpvId writeMatrixComparison(const Type& operandType, SpvId lhs, SpvId rhs, SpvOp_ floatOperator, + SpvOp_ intOperator, OutputStream& out); + SpvId writeBinaryOperation(const Type& resultType, const Type& operandType, SpvId lhs, SpvId rhs, SpvOp_ ifFloat, SpvOp_ ifInt, SpvOp_ ifUInt, SpvOp_ ifBool, OutputStream& out); |