Retry lesser FBO sample counts if UNSUPPORTED
authorPiers Daniell <pdaniell@nvidia.com>
Thu, 17 Jun 2021 23:36:54 +0000 (17:36 -0600)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Tue, 29 Jun 2021 07:00:56 +0000 (07:00 +0000)
commit8b5b2d58543150642c79b8f7e2905ed138897d01
tree67b5ec49699908b847c772a426e05dc42f4d364e
parent01f994a7ff7d6a3e86bcd12203227ca67d16ac63
Retry lesser FBO sample counts if UNSUPPORTED

On some of our implementations we return GL_FRAMEBUFFER_UNSUPPORTED
when the no-attachment maximum width, height and samples are all
used in combination. This is because the combination goes beyond
some of our hardware limits. It would be fine to use either
maximum width/height or maximum samples, but not all
together.

Since GL_FRAMEBUFFER_UNSUPPORTED is a valid FBO status for
implementation-defined reasons, the test should recognize this
and try again with lesser limits until the FBO is complete.

Affects:

dEQP-GL45.functional.fbo.no_attachments.maximums.all

Components: OpenGL

VK-GL-CTS issue: 2973

Change-Id: I8db2e9f802b3f4d1ee59bbfbfa1935bbe3cc6d00
modules/gles31/functional/es31fFboNoAttachmentTests.cpp