Disable standard derivatives on PowerVR Rogue

Bug: chromium:1197152
Change-Id: I542b141217bfcb7590c80bb8144714479535f984
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/415516
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: John Stiles <johnstiles@google.com>
This commit is contained in:
Chris Dalton 2021-06-03 16:30:18 -06:00 committed by Skia Commit-Bot
parent 2c9a6ec3a0
commit 3a82b7dee6

View File

@ -4126,6 +4126,11 @@ void GrGLCaps::applyDriverCorrectnessWorkarounds(const GrGLContextInfo& ctxInfo,
if (ctxInfo.renderer() == GrGLRenderer::kGoogleSwiftShader) {
fShaderCaps->fVertexIDSupport = false;
}
// http://crbug.com/1197152
if (ctxInfo.renderer() == GrGLRenderer::kPowerVRRogue) {
fShaderCaps->fShaderDerivativeSupport = false;
}
}
void GrGLCaps::onApplyOptionsOverrides(const GrContextOptions& options) {