Descriptiongpu: FBO must be incomplete if the attached texture is not cube complete.
Section 4.4.4 "Framebuffer Completeness" of the ES 3.0.4 spec [1] says that if
the color attachment is a cube map texture and the texture isn't cube map
complete, then the framebuffer is incomplete.
Some drivers accept incomplete cube texture as FBO color attachment. This CL
strictly prevent incomplete cube texture from attaching FBO.
[1] https://www.khronos.org/registry/gles/specs/3.0/es_spec_3.0.4.pdf
TEST=gl_tests.GLCubeMapTextureTests/GLCubeMapTextureTest.ReadPixelsFromIncompleteFBO/*
BUG=518889
Patch Set 1 #Patch Set 2 : Depend on https://codereview.chromium.org/1299683002 #
Messages
Total messages: 9 (2 generated)
|