OSDN Git Service

Adjusting texture completeness checks
authorAlexis Hetu <sugoi@google.com>
Mon, 5 Oct 2015 17:17:35 +0000 (13:17 -0400)
committerAlexis Hétu <sugoi@google.com>
Wed, 21 Oct 2015 11:53:45 +0000 (11:53 +0000)
commit71e1e750c0775f25bc0126131785da858cf51ddf
tree0d7261a597266f2d1363da4bd3d51737a0495f0b
parent4614009956df0a0a0438b8a858d8e9ca73b0fdfc
Adjusting texture completeness checks

Mipmap levels used in texture sampling must be limited by the
texture's base level (default: 0) and max level (default: 1000).
This has an effect on texture completeness, since only the
required levels are required to be present in the texture to be
considered complete.

Change-Id: I31dd87d5a4306622e469c2546107b59f6e51c7dd
Reviewed-on: https://swiftshader-review.googlesource.com/4039
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
src/OpenGL/libGLESv2/Texture.cpp