We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26c24ed commit 27e7f77Copy full SHA for 27e7f77
src/gpu/gl/GrGLCaps.cpp
@@ -401,6 +401,13 @@ void GrGLCaps::init(const GrContextOptions& contextOptions,
401
402
shaderCaps->fIntegerSupport = version >= GR_GL_VER(3, 0) &&
403
ctxInfo.glslGeneration() >= k330_GrGLSLGeneration; // We use this value for GLSL ES 3.0.
404
+#if GR_TEST_UTILS
405
+ // TODO(bsalomon): Revert this experiment to see if this affects ANGLE ES3 D3D11
406
+ // performance.
407
+ if (ctxInfo.driver() == kANGLE_GrGLDriver) {
408
+ shaderCaps->fIntegerSupport = false;
409
+ }
410
+#endif
411
} else if (GR_IS_GR_WEBGL(standard)) {
412
shaderCaps->fShaderDerivativeSupport = version >= GR_GL_VER(2, 0) ||
413
ctxInfo.hasExtension("GL_OES_standard_derivatives") ||
0 commit comments