aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sksl/SkSLUtil.h
diff options
context:
space:
mode:
authorGravatar Ethan Nicholas <ethannicholas@google.com>2017-07-18 09:47:43 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-07-18 14:23:16 +0000
commit07990de8179e98a4ba06d7e66f40b8ec5465bade (patch)
treea78f24d73de7af06fcc0485ab792015100d68d90 /src/sksl/SkSLUtil.h
parent9b9510a71182ab88cd82effd6728aaa0584b8dcc (diff)
added sksl support for integerSupport cap
Bug: skia: Change-Id: I7e33af9b845db3f862a3a21cba7f2d56e8ea2909 Reviewed-on: https://skia-review.googlesource.com/24323 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Diffstat (limited to 'src/sksl/SkSLUtil.h')
-rw-r--r--src/sksl/SkSLUtil.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sksl/SkSLUtil.h b/src/sksl/SkSLUtil.h
index 64f1e8154e..f0951a3c6d 100644
--- a/src/sksl/SkSLUtil.h
+++ b/src/sksl/SkSLUtil.h
@@ -139,6 +139,10 @@ public:
return false;
}
+ bool integerSupport() const {
+ return false;
+ }
+
const char* shaderDerivativeExtensionString() const {
return nullptr;
}