Force the s4 to use highp for transforming to NDS
This seems to fix some rendering issues. Currently this will use highp for all draws on the s4, but if we see perf issues we can refine this later to specific types of draws. BUG=skia: Review URL: https://codereview.chromium.org/1419593003
This commit is contained in:
parent
eec180db93
commit
cae0085acc
@ -536,7 +536,8 @@ void GrGLCaps::initGLSL(const GrContextOptions& contextOptions,
|
||||
// from our GrTextureDomain processor.
|
||||
glslCaps->fCanUseAnyFunctionInShader = kImagination_GrGLVendor != ctxInfo.vendor();
|
||||
|
||||
glslCaps->fForceHighPrecisionNDSTransform = kARM_GrGLVendor == ctxInfo.vendor();
|
||||
glslCaps->fForceHighPrecisionNDSTransform = kARM_GrGLVendor == ctxInfo.vendor() ||
|
||||
kPowerVR54x_GrGLRenderer == ctxInfo.renderer();
|
||||
|
||||
glslCaps->fVersionDeclString = get_glsl_version_decl_string(standard, glslCaps->fGLSLGeneration,
|
||||
fIsCoreProfile);
|
||||
|
Loading…
Reference in New Issue
Block a user