diff options
author | 2017-10-06 13:13:32 -0600 | |
---|---|---|
committer | 2017-10-06 20:17:10 +0000 | |
commit | 567d6f4b4bd9ef50fa09c1449d6789ed701fc079 (patch) | |
tree | 523952294659423c22cb67d0c5a1df5eb8bff5bd /src/sksl | |
parent | cf331a9e7c814c7a19dfc94c678aba2178d738cc (diff) |
Add GS Invocations caps to SkSL StandaloneShaderCaps
Bug: skia:
Change-Id: I58f0caf97048e62a11cf8732acc79e3c2fbc683b
Reviewed-on: https://skia-review.googlesource.com/56801
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Diffstat (limited to 'src/sksl')
-rw-r--r-- | src/sksl/SkSLUtil.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/sksl/SkSLUtil.h b/src/sksl/SkSLUtil.h index c4a6475034..a8be7ef72f 100644 --- a/src/sksl/SkSLUtil.h +++ b/src/sksl/SkSLUtil.h @@ -155,12 +155,16 @@ public: return nullptr; } + const char* gsInvocationsExtensionString() const { + return nullptr; + } + const char* versionDeclString() const { return ""; } - bool mustImplementGSInvocationsWithLoop() const { - return false; + bool gsInvocationsSupport() const { + return true; } bool canUseFractForNegativeValues() const { |