From 364f2325079e7cc453a3b923b8e41da28fb0276d Mon Sep 17 00:00:00 2001 From: Neil Roberts Date: Mon, 21 Jan 2013 18:39:55 +0000 Subject: [PATCH] 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 (cherry picked from commit cfb0859cab843b000f4baa3ca155a245730edcfa) --- tests/conform/test-conform-main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/conform/test-conform-main.c b/tests/conform/test-conform-main.c index c1952cb75..c1000fd30 100644 --- a/tests/conform/test-conform-main.c +++ b/tests/conform/test-conform-main.c @@ -98,7 +98,9 @@ main (int argc, char **argv) ADD_TEST (test_bitmask, 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_sprite,