[Piglit] [PATCH 0/2] Test complete FBOs that lack color attachments

Ian Romanick idr at freedesktop.org
Thu Jun 2 14:13:02 PDT 2011

These tests try to hit some corner cases of FBO completeness.  There
are several cases where an operation can try to access a buffer that
is missing in a complete FBO.  Two common possible cases are glClear
and glBlitFramebuffer.

The glClear test reproduces Mesa bugzilla #37739.

Two of the glBlitFramebuffer tests pass on Mesa (both of the 'to'
tests), but the other tests fail with either a crash or fail with
obtuse (incorrect) GL errors.

All 5 tests pass on NVIDIA's closed-source driver.  Only one of the
tests (I think 'fbo-missing-attachment-blit to', but it might be the
'from' version) passes on AMD's closed-source driver.  The cases that
fail on AMD are all FBO completeness failures, and they are clearly
not following the spec.

 tests/all.tests                                    |    5 +
 tests/spec/arb_es2_compatibility/CMakeLists.gl.txt |    3 +-
 .../fbo-missing-attachment-blit.c                  |  216 ++++++++++++++++++++
 .../fbo-missing-attachment-clear.c                 |  115 +++++++++++
 4 files changed, 338 insertions(+), 1 deletions(-)

More information about the Piglit mailing list