[Piglit] [PATCH 1/7] arb_base_instance: set KHR_no_error compatibility

Timothy Arceri tarceri at itsqueeze.com
Thu May 18 02:00:23 UTC 2017


---
 tests/spec/arb_base_instance/baseinstance-doesnt-affect-gl-instance-id.c | 1 +
 tests/spec/arb_base_instance/drawarrays.c                                | 1 +
 2 files changed, 2 insertions(+)

diff --git a/tests/spec/arb_base_instance/baseinstance-doesnt-affect-gl-instance-id.c b/tests/spec/arb_base_instance/baseinstance-doesnt-affect-gl-instance-id.c
index 8e223cd..b9661bb 100644
--- a/tests/spec/arb_base_instance/baseinstance-doesnt-affect-gl-instance-id.c
+++ b/tests/spec/arb_base_instance/baseinstance-doesnt-affect-gl-instance-id.c
@@ -29,20 +29,21 @@
 #include "piglit-util-gl.h"
 
 PIGLIT_GL_TEST_CONFIG_BEGIN
 #ifdef PIGLIT_USE_OPENGL
 	config.supports_gl_core_version = 31;
 #else
 	config.supports_gl_es_version = 30;
 #endif
 
 	config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE;
+	config.khr_no_error_support = PIGLIT_NO_ERRORS;
 
 PIGLIT_GL_TEST_CONFIG_END
 
 static const char *vstext =
 #ifdef PIGLIT_USE_OPENGL
 	"#version 140\n"
 #else
 	"#version 300 es\n"
 #endif
 	"in vec3 vertex;\n"
diff --git a/tests/spec/arb_base_instance/drawarrays.c b/tests/spec/arb_base_instance/drawarrays.c
index 44e63dc..a96acad 100644
--- a/tests/spec/arb_base_instance/drawarrays.c
+++ b/tests/spec/arb_base_instance/drawarrays.c
@@ -32,20 +32,21 @@
 
 PIGLIT_GL_TEST_CONFIG_BEGIN
 #ifdef PIGLIT_USE_OPENGL
 	config.supports_gl_core_version = 31;
 #else
 	config.supports_gl_es_version = 30;
 #endif
 	config.window_width = 400;
 	config.window_height = 400;
 	config.window_visual = PIGLIT_GL_VISUAL_RGBA | PIGLIT_GL_VISUAL_DOUBLE;
+	config.khr_no_error_support = PIGLIT_NO_ERRORS;
 PIGLIT_GL_TEST_CONFIG_END
 
 static const char *TestName = "arb_base_instance-drawarrays";
 
 static GLint MVPUniform, PosUniform;
 static GLint VertexAttrib, ColorAttrib;
 
 static float modelview[16], projection[16], modelviewproj[16];
 
 #define PRIMS 8
-- 
2.9.4



More information about the Piglit mailing list