Enable validation of sampler object GL functions
Bug: skia:8471 Change-Id: Id4f00566f18eac4d0f8912aa198e151f62eda929 Reviewed-on: https://skia-review.googlesource.com/c/163251 Commit-Queue: Brian Salomon <bsalomon@google.com> Commit-Queue: Greg Daniel <egdaniel@google.com> Auto-Submit: Brian Salomon <bsalomon@google.com> Reviewed-by: Greg Daniel <egdaniel@google.com>
This commit is contained in:
parent
e1552a5914
commit
9a340d8933
@ -646,7 +646,6 @@ bool GrGLInterface::validate() const {
|
||||
}
|
||||
}
|
||||
|
||||
#if 0 // Update Chrome before enabling this.
|
||||
if ((kGL_GrGLStandard == fStandard && glVer >= GR_GL_VER(4,1)) ||
|
||||
(kGLES_GrGLStandard == fStandard && glVer >= GR_GL_VER(3,0))) {
|
||||
if (!fFunctions.fBindSampler ||
|
||||
@ -657,7 +656,6 @@ bool GrGLInterface::validate() const {
|
||||
RETURN_FALSE_INTERFACE;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user