tests: Mark test_framebuffer_get_bits as only working on GL

It looks like it's not meant to be valid to create a framebuffer with
an alpha-only texture as a render target on GLES. Since the following
Mesa commit, this requirement is now enforced so that the
test_framebuffer_get_bits test fails:

http://cgit.freedesktop.org/mesa/mesa/commit/?id=cf300eaa

Reviewed-by: Robert Bragg <robert@linux.intel.com>

(cherry picked from commit cfb0859cab843b000f4baa3ca155a245730edcfa)
This commit is contained in:
Neil Roberts 2013-01-21 18:39:55 +00:00 committed by Robert Bragg
parent 51f3e28c1f
commit 364f232507

View File

@ -98,7 +98,9 @@ main (int argc, char **argv)
ADD_TEST (test_bitmask, 0, 0); ADD_TEST (test_bitmask, 0, 0);
ADD_TEST (test_offscreen, 0, 0); ADD_TEST (test_offscreen, 0, 0);
ADD_TEST (test_framebuffer_get_bits, TEST_REQUIREMENT_OFFSCREEN, 0); ADD_TEST (test_framebuffer_get_bits,
TEST_REQUIREMENT_OFFSCREEN | TEST_REQUIREMENT_GL,
0);
ADD_TEST (test_point_size, 0, 0); ADD_TEST (test_point_size, 0, 0);
ADD_TEST (test_point_sprite, ADD_TEST (test_point_sprite,