[Piglit] [PATCH 3/5] shader_runner: mark as compatible with KHR_no_error testing

Timothy Arceri tarceri at itsqueeze.com
Fri May 12 04:47:48 UTC 2017


There should be no api errors in shader_runner tests. The spec
says nothing about not marking link status as failed should
shaders contain errors so we continue to test those.
---
 tests/shaders/shader_runner.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/shaders/shader_runner.c b/tests/shaders/shader_runner.c
index 6ac5f98..30734cd 100644
--- a/tests/shaders/shader_runner.c
+++ b/tests/shaders/shader_runner.c
@@ -42,20 +42,21 @@ static void
 get_required_config(const char *script_name,
 		    struct piglit_gl_test_config *config);
 static GLenum
 decode_drawing_mode(const char *mode_str);
 
 PIGLIT_GL_TEST_CONFIG_BEGIN
 
 	config.window_width = DEFAULT_WINDOW_WIDTH;
 	config.window_height = DEFAULT_WINDOW_HEIGHT;
 	config.window_visual = PIGLIT_GL_VISUAL_RGBA | PIGLIT_GL_VISUAL_DOUBLE;
+	config.khr_no_error_support = PIGLIT_NO_ERRORS;
 
 	if (argc > 1)
 		get_required_config(argv[1], &config);
 	else
 		config.supports_gl_compat_version = 10;
 
 	current_config = config;
 
 PIGLIT_GL_TEST_CONFIG_END
 
-- 
2.9.3



More information about the Piglit mailing list