diff --git a/src/sksl/SkSLIRGenerator.cpp b/src/sksl/SkSLIRGenerator.cpp index 4165ea9469..1af37227af 100644 --- a/src/sksl/SkSLIRGenerator.cpp +++ b/src/sksl/SkSLIRGenerator.cpp @@ -141,6 +141,7 @@ static void fill_caps(const SKSL_CAPS_CLASS& caps, CAP(mustDeclareFragmentShaderOutput); CAP(canUseAnyFunctionInShader); CAP(floatPrecisionVaries); + CAP(integerSupport); #undef CAP } 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; }