Skip to content

mesa: add check that non base level attachment is mipmap complete

Tapani Pälli requested to merge tpalli/mesa:fbo-mipmap-complete into master

Patch adds a check for mipmap completeness of framebuffer object texture attachments. Since a glTexImage call might have updated miplevels meanwhile, we test the completeness before setting framebuffer object incomplete.

Fixes some upcoming framebuffer completeness CTS tests that explicitly test case where we have mipmap incomplete non base level texture which should make also framebuffer object incomplete. After update to the texture it should make framebuffer object complete again.

Signed-off-by: Tapani Pälli

Merge request reports