Fix force high precision for arm gpus
This fixes a bug introduced by recent changes to GLSL caps. TBR=bsalomon@google.com BUG=skia: Review URL: https://codereview.chromium.org/1422553004
This commit is contained in:
parent
472d44e8f8
commit
2a459ffe2d
@ -536,7 +536,7 @@ void GrGLCaps::initGLSL(const GrContextOptions& contextOptions,
|
|||||||
// from our GrTextureDomain processor.
|
// from our GrTextureDomain processor.
|
||||||
glslCaps->fCanUseAnyFunctionInShader = kImagination_GrGLVendor != ctxInfo.vendor();
|
glslCaps->fCanUseAnyFunctionInShader = kImagination_GrGLVendor != ctxInfo.vendor();
|
||||||
|
|
||||||
glslCaps->fForceHighPrecisionNDSTransform = kARM_GrGLVendor != ctxInfo.vendor();
|
glslCaps->fForceHighPrecisionNDSTransform = kARM_GrGLVendor == ctxInfo.vendor();
|
||||||
|
|
||||||
glslCaps->fVersionDeclString = get_glsl_version_decl_string(standard, glslCaps->fGLSLGeneration,
|
glslCaps->fVersionDeclString = get_glsl_version_decl_string(standard, glslCaps->fGLSLGeneration,
|
||||||
fIsCoreProfile);
|
fIsCoreProfile);
|
||||||
|
Loading…
Reference in New Issue
Block a user