Found when building with Clang with -Wunreachable-code-loop-increment
enabled. TextureViewUtilities::initTextureStorage is supposed to call
glTexImage2D for all cube map faces but stops after the first one
(GL_TEXTURE_CUBE_MAP_POSITIVE_X).
Affects:
KHR-GL4*.texture_view.gettexparameter
KHR-GL4*.texture_view.errors
Components: OpenGL
VK-GL-CTS issue: 3085
Change-Id: I3d85351ab50ad0bd8b779537b1a8b3bef162f80f
GLU_EXPECT_NO_ERROR(gl.getError(),
"glTexImage2D() call failed for one of the cube-map texture targets");
-
- break;
} /* for (all cube-map texture targets) */
break;