Revert "Perf bot experiment, disable GLSL integers on ANGLE ES3"
This reverts commit 27e7f77212
.
Reason for revert: was a temporary hack to check perf
Original change's description:
> Perf bot experiment, disable GLSL integers on ANGLE ES3
>
> Only affects Skia tools builds, not clients.
>
> Change-Id: I9b713b74480359c7eea8a8db7b49fb49341c7ee1
> Bug: skia:10644
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/315644
> Reviewed-by: Greg Daniel <egdaniel@google.com>
> Commit-Queue: Brian Salomon <bsalomon@google.com>
TBR=egdaniel@google.com,bsalomon@google.com
Change-Id: Id947c724e2f17a43d276df078f98482af8e4a02a
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: skia:10644
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/315865
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
This commit is contained in:
parent
21bebc68fd
commit
a0d6dc76f6
@ -401,13 +401,6 @@ void GrGLCaps::init(const GrContextOptions& contextOptions,
|
||||
|
||||
shaderCaps->fIntegerSupport = version >= GR_GL_VER(3, 0) &&
|
||||
ctxInfo.glslGeneration() >= k330_GrGLSLGeneration; // We use this value for GLSL ES 3.0.
|
||||
#if GR_TEST_UTILS
|
||||
// TODO(bsalomon): Revert this experiment to see if this affects ANGLE ES3 D3D11
|
||||
// performance.
|
||||
if (ctxInfo.driver() == kANGLE_GrGLDriver) {
|
||||
shaderCaps->fIntegerSupport = false;
|
||||
}
|
||||
#endif
|
||||
} else if (GR_IS_GR_WEBGL(standard)) {
|
||||
shaderCaps->fShaderDerivativeSupport = version >= GR_GL_VER(2, 0) ||
|
||||
ctxInfo.hasExtension("GL_OES_standard_derivatives") ||
|
||||
|
Loading…
Reference in New Issue
Block a user