[Piglit] [PATCH 3/4] clear-accum: specify config.requires_displayed_window = true

Brian Paul brianp at vmware.com
Fri Oct 13 04:24:18 UTC 2017


The accumulation buffer can only be present with the window system
framebuffer, not an FBO.  So this test fails if run with -fbo.
Set the config.requires_displayed_window option to true to require
a window system buffer.
---
 tests/general/clear-accum.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/general/clear-accum.c b/tests/general/clear-accum.c
index a8ac6bd..6a987b3 100644
--- a/tests/general/clear-accum.c
+++ b/tests/general/clear-accum.c
@@ -39,6 +39,7 @@ PIGLIT_GL_TEST_CONFIG_BEGIN
 	config.window_width = 400;
 	config.window_height = 200;
 	config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_ACCUM;
+	config.requires_displayed_window = true;
 
 PIGLIT_GL_TEST_CONFIG_END
 
-- 
1.9.1



More information about the Piglit mailing list