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>
This commit is contained in:
parent
9b9510a711
commit
07990de817
@ -141,6 +141,7 @@ static void fill_caps(const SKSL_CAPS_CLASS& caps,
|
||||
CAP(mustDeclareFragmentShaderOutput);
|
||||
CAP(canUseAnyFunctionInShader);
|
||||
CAP(floatPrecisionVaries);
|
||||
CAP(integerSupport);
|
||||
#undef CAP
|
||||
}
|
||||
|
||||
|
@ -139,6 +139,10 @@ public:
|
||||
return false;
|
||||
}
|
||||
|
||||
bool integerSupport() const {
|
||||
return false;
|
||||
}
|
||||
|
||||
const char* shaderDerivativeExtensionString() const {
|
||||
return nullptr;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user