[Piglit] [PATCH v2 14/19] tests/ext_transform_feedback-max-varyings: remove duplicate configs

Dylan Baker dylan at pnwbakers.com
Mon Dec 3 18:13:53 UTC 2018


This has config.supports_gl_compat_version = 10, then calls
piglit_require_GL_version(20), so just set the value in the config to 20
and remove the other.
---
 tests/spec/ext_transform_feedback/max-varyings.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tests/spec/ext_transform_feedback/max-varyings.c b/tests/spec/ext_transform_feedback/max-varyings.c
index 0d368cac7..3f034deac 100644
--- a/tests/spec/ext_transform_feedback/max-varyings.c
+++ b/tests/spec/ext_transform_feedback/max-varyings.c
@@ -46,7 +46,7 @@
 
 PIGLIT_GL_TEST_CONFIG_BEGIN
 
-	config.supports_gl_compat_version = 10;
+	config.supports_gl_compat_version = 20;
 
 	config.window_width = (2+MAX_VARYING*12);
 	config.window_height = (2+MAX_VARYING*12);
@@ -440,7 +440,6 @@ piglit_display(void)
 
 void piglit_init(int argc, char **argv)
 {
-	piglit_require_gl_version(20);
 	piglit_require_GLSL_version(120);
 	piglit_require_transform_feedback();
 	glGenBuffers(1, &xfb_buf);
-- 
2.19.2



More information about the Piglit mailing list