diff options
author | Ethan Nicholas <ethannicholas@google.com> | 2017-10-10 16:30:21 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-10-11 18:05:07 +0000 |
commit | c9472af8585be3c12691b968b667cde3ca83cae4 (patch) | |
tree | ea75fbd42cf3f14c52c8a74c4e90ad6592c6581a /src/sksl/SkSLContext.h | |
parent | f88c12ea2047c5ccb13613534b1794944bb233e8 (diff) |
SkSL FPs now support child processors, converted ArithmeticFP to SkSL
Bug: skia:
Change-Id: I34ed3480073d05762a7d4692aeee4b87e454ce52
Reviewed-on: https://skia-review.googlesource.com/57961
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Diffstat (limited to 'src/sksl/SkSLContext.h')
-rw-r--r-- | src/sksl/SkSLContext.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sksl/SkSLContext.h b/src/sksl/SkSLContext.h index 5061b61fd3..a8158be4a0 100644 --- a/src/sksl/SkSLContext.h +++ b/src/sksl/SkSLContext.h @@ -185,6 +185,7 @@ public: , fSkCaps_Type(new Type("$sk_Caps")) , fSkArgs_Type(new Type("$sk_Args")) , fColorSpaceXform_Type(new Type("colorSpaceXform", *fFloat_Type, 4, 4)) + , fFragmentProcessor_Type(new Type("fragmentProcessor")) , fDefined_Expression(new Defined(*fInvalid_Type)) {} static std::vector<const Type*> static_type(const Type& t) { @@ -333,6 +334,7 @@ public: const std::unique_ptr<Type> fSkCaps_Type; const std::unique_ptr<Type> fSkArgs_Type; const std::unique_ptr<Type> fColorSpaceXform_Type; + const std::unique_ptr<Type> fFragmentProcessor_Type; // dummy expression used to mark that a variable has a value during dataflow analysis (when it // could have several different values, or the analyzer is otherwise unable to assign it a |