aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sksl/SkSLUtil.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sksl/SkSLUtil.h')
-rw-r--r--src/sksl/SkSLUtil.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/sksl/SkSLUtil.h b/src/sksl/SkSLUtil.h
index 787698f2c6..7a39386269 100644
--- a/src/sksl/SkSLUtil.h
+++ b/src/sksl/SkSLUtil.h
@@ -174,10 +174,6 @@ public:
bool canUseFractForNegativeValues() const {
return true;
}
-
- bool canUseFragCoord() const {
- return true;
- }
};
extern StandaloneShaderCaps standaloneCaps;
@@ -304,13 +300,6 @@ public:
result->fCanUseAnyFunctionInShader = false;
return result;
}
-
- static sk_sp<GrShaderCaps> CannotUseFragCoord() {
- sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions());
- result->fVersionDeclString = "#version 400";
- result->fCanUseFragCoord = false;
- return result;
- }
};
#endif