Status: Available
Owner: ----
CC:
k...@chromium.org, geoff...@
chromium.org,
syou...@chromium.org Priority: Medium
Type: Defect
New issue 8694 by lexa....@
gmail.com: Max level must be ignored for completeness of non-mipmapped textures
https://bugs.chromium.org/p/angleproject/issues/detail?id=8694Consider the following example:
glBindTexture(GL_TEXTURE_2D, tex);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_BASE_LEVEL, 1);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAX_LEVEL, 0);
const GLubyte data[4] = {0x00, 0xFF, 0x00, 0xFF};
glTexImage2D(GL_TEXTURE_2D, 1, GL_RGBA8, 1, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, data);
The texture is not _mipmap_ complete because the base level is greater than the max level but it is complete because mipmapping is not used.
ANGLE currently treats such textures as incomplete.
--
You received this message because:
1. The project was configured to send all issue notifications to this address
You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings