Descriptiongpu: If not cube complete, the texture isn't renderable, no matter mipmap complete.
GLES2 spec 3.8.2 says
"A cube map sampler is called, and either the corresponding cube map texture
image is not cube complete, or TEXTURE_MIN_FILTER is one that requires
a mipmap and the texture is not mipmap cube complete."
However, Texture::GetCanRenderCondition() checks cube complete only if the texture
needs mipmap.
TEST=gpu_unittests TextureTest.POTCubeMapWithoutMipmap
BUG=517548
Committed: https://crrev.com/a326ed46c3923c0e3a29d030c10e3e76b3bdc288
Cr-Commit-Position: refs/heads/master@{#344456}
Patch Set 1 #
Total comments: 3
Patch Set 2 : check cube complete correctly #
Total comments: 1
Messages
Total messages: 13 (3 generated)
|