Revert of Revert of Revert of Remove workaround to for lower glsl support for qualcomm (patchset #1 id:1 of https://codereview.chromium.org/1138013004/)
Reason for revert: still broken :( Original issue's description: > Revert of Revert of Remove workaround to for lower glsl support for qualcomm (patchset #1 id:1 of https://codereview.chromium.org/1135393003/) > > Reason for revert: > trying once more > > Original issue's description: > > Revert of Remove workaround to for lower glsl support for qualcomm (patchset #1 id:1 of https://codereview.chromium.org/1133543004/) > > > > Reason for revert: > > breaks many qualcomm gms > > > > Original issue's description: > > > Remove workaround to for lower glsl support for qualcomm > > > > > > BUG=skia: > > > > > > Committed: https://skia.googlesource.com/skia/+/9770bdce776f45367c419b8dd82219eece26ca5c > > > > TBR=bsalomon@google.com > > NOPRESUBMIT=true > > NOTREECHECKS=true > > NOTRY=true > > BUG=skia: > > > > Committed: https://skia.googlesource.com/skia/+/0cfe1242ee284290bde1ebe3f48626c555fdac51 > > TBR=bsalomon@google.com > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/b72f920ef581e9cf50a6c1afc80ed04bb086488e TBR=bsalomon@google.com NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/1130413006
This commit is contained in:
parent
38a017bf44
commit
1bf714fb45
@ -47,6 +47,16 @@ bool GrGLContextInfo::initialize(const GrGLInterface* interface) {
|
||||
|
||||
fVendor = GrGLGetVendor(interface);
|
||||
|
||||
/*
|
||||
* Qualcomm drivers have a horrendous bug with some drivers. Though they claim to
|
||||
* support GLES 3.00, some perfectly valid GLSL300 shaders will only compile with
|
||||
* #version 100, and will fail to compile with #version 300 es. In the long term, we
|
||||
* need to lock this down to a specific driver version.
|
||||
*/
|
||||
if (kQualcomm_GrGLVendor == fVendor) {
|
||||
fGLSLGeneration = k110_GrGLSLGeneration;
|
||||
}
|
||||
|
||||
fRenderer = GrGLGetRendererFromString(renderer);
|
||||
|
||||
fIsMesa = GrGLIsMesaFromVersionString(ver);
|
||||
|
Loading…
Reference in New Issue
Block a user