-
Fix completeness test of OpenGL ES immutable textures · d51c7fa6Nicolas Capens authored
Immutable textures created with glTexStorage*() are always mipmap and sampler complete. The spec states that "Array levels k where k < levelbase or k > q arebinsignificant to the definition ofcompleteness." Where q is no larger than levelmax, which is in turn limited to levelimmut - 1 which was specified at glTexStorage. Change-Id: Ieaa6be856fd35cf2827e753d7c777ebf784027ef Tests: dEQP-GLES* Fixes: b/152740217 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/43188 Presubmit-Ready: Nicolas Capens <nicolascapens@google.com> Kokoro-Presubmit: kokoro <noreply+kokoro@google.com> Tested-by:
Nicolas Capens <nicolascapens@google.com> Reviewed-by:
Alexis Hétu <sugoi@google.com>
d51c7fa6
×