[Piglit] [PATCH 4/4] arb_compute_shader: set KHR_no_error compatibility

Timothy Arceri tarceri at itsqueeze.com
Mon May 15 06:20:29 UTC 2017


---
 tests/spec/arb_compute_shader/api_errors.c         | 1 +
 tests/spec/arb_compute_shader/indirect-compute.c   | 1 +
 tests/spec/arb_compute_shader/local-id.c           | 1 +
 tests/spec/arb_compute_shader/minmax.c             | 1 +
 tests/spec/arb_compute_shader/render-and-compute.c | 1 +
 tests/spec/arb_compute_shader/zero-dispatch-size.c | 1 +
 6 files changed, 6 insertions(+)

diff --git a/tests/spec/arb_compute_shader/api_errors.c b/tests/spec/arb_compute_shader/api_errors.c
index 0c17799..0a6daf4 100644
--- a/tests/spec/arb_compute_shader/api_errors.c
+++ b/tests/spec/arb_compute_shader/api_errors.c
@@ -31,20 +31,21 @@
 #include "piglit-shader.h"
 
 
 static struct piglit_gl_test_config *piglit_config;
 
 
 PIGLIT_GL_TEST_CONFIG_BEGIN
 	piglit_config = &config;
 	config.supports_gl_compat_version = 33;
 	config.supports_gl_core_version = 33;
+	config.khr_no_error_support = PIGLIT_HAS_ERRORS;
 PIGLIT_GL_TEST_CONFIG_END
 
 
 static const char *trivial_correct_shader =
 	"#version 330\n"
 	"#extension GL_ARB_compute_shader: enable\n"
 	"\n"
 	"layout(local_size_x = 1) in;\n"
 	"\n"
 	"void main()\n"
diff --git a/tests/spec/arb_compute_shader/indirect-compute.c b/tests/spec/arb_compute_shader/indirect-compute.c
index 0142ff3..cffa617 100644
--- a/tests/spec/arb_compute_shader/indirect-compute.c
+++ b/tests/spec/arb_compute_shader/indirect-compute.c
@@ -27,20 +27,21 @@
  */
 
 #include "cs-ids-common.h"
 
 static struct piglit_gl_test_config *piglit_config;
 
 PIGLIT_GL_TEST_CONFIG_BEGIN
 	piglit_config = &config;
 	config.supports_gl_compat_version = 33;
 	config.supports_gl_core_version = 33;
+	config.khr_no_error_support = PIGLIT_NO_ERRORS;
 PIGLIT_GL_TEST_CONFIG_END
 
 
 enum piglit_result
 piglit_display(void)
 {
 	return PIGLIT_FAIL;
 }
 
 
diff --git a/tests/spec/arb_compute_shader/local-id.c b/tests/spec/arb_compute_shader/local-id.c
index 504624b..2c5c236 100644
--- a/tests/spec/arb_compute_shader/local-id.c
+++ b/tests/spec/arb_compute_shader/local-id.c
@@ -27,20 +27,21 @@
  */
 
 #include "cs-ids-common.h"
 
 static struct piglit_gl_test_config *piglit_config;
 
 PIGLIT_GL_TEST_CONFIG_BEGIN
 	piglit_config = &config;
 	config.supports_gl_compat_version = 33;
 	config.supports_gl_core_version = 33;
+	config.khr_no_error_support = PIGLIT_NO_ERRORS;
 PIGLIT_GL_TEST_CONFIG_END
 
 
 enum piglit_result
 piglit_display(void)
 {
 	return PIGLIT_FAIL;
 }
 
 
diff --git a/tests/spec/arb_compute_shader/minmax.c b/tests/spec/arb_compute_shader/minmax.c
index 5bb7795..6bff1aa 100644
--- a/tests/spec/arb_compute_shader/minmax.c
+++ b/tests/spec/arb_compute_shader/minmax.c
@@ -27,20 +27,21 @@
  * ARB_compute_shader extension.
  */
 
 #include "piglit-util-gl.h"
 #include "minmax-test.h"
 
 PIGLIT_GL_TEST_CONFIG_BEGIN
 
 	config.supports_gl_compat_version = 10;
 	config.supports_gl_core_version = 31;
+	config.khr_no_error_support = PIGLIT_NO_ERRORS;
 
 PIGLIT_GL_TEST_CONFIG_END
 
 enum piglit_result
 piglit_display(void)
 {
 	/* UNREACHED */
 	return PIGLIT_FAIL;
 }
 
diff --git a/tests/spec/arb_compute_shader/render-and-compute.c b/tests/spec/arb_compute_shader/render-and-compute.c
index 44c40d7..1369921 100644
--- a/tests/spec/arb_compute_shader/render-and-compute.c
+++ b/tests/spec/arb_compute_shader/render-and-compute.c
@@ -22,20 +22,21 @@
  */
 
 #include "cs-ids-common.h"
 
 static struct piglit_gl_test_config *piglit_config;
 
 PIGLIT_GL_TEST_CONFIG_BEGIN
 	piglit_config = &config;
 	config.supports_gl_compat_version = 33;
 	config.supports_gl_core_version = 33;
+	config.khr_no_error_support = PIGLIT_NO_ERRORS;
 PIGLIT_GL_TEST_CONFIG_END
 
 
 const char passthrough_vs_src[] =
 	"#version 330\n"
 	"\n"
 	"in vec4 piglit_vertex;\n"
 	"\n"
 	"void main() {\n"
 	"    gl_Position = piglit_vertex;\n"
diff --git a/tests/spec/arb_compute_shader/zero-dispatch-size.c b/tests/spec/arb_compute_shader/zero-dispatch-size.c
index 3ebf558..f1fbdcd 100644
--- a/tests/spec/arb_compute_shader/zero-dispatch-size.c
+++ b/tests/spec/arb_compute_shader/zero-dispatch-size.c
@@ -27,20 +27,21 @@
  */
 
 #include "cs-ids-common.h"
 
 static struct piglit_gl_test_config *piglit_config;
 
 PIGLIT_GL_TEST_CONFIG_BEGIN
 	piglit_config = &config;
 	config.supports_gl_compat_version = 33;
 	config.supports_gl_core_version = 33;
+	config.khr_no_error_support = PIGLIT_NO_ERRORS;
 PIGLIT_GL_TEST_CONFIG_END
 
 
 enum piglit_result
 piglit_display(void)
 {
 	return PIGLIT_FAIL;
 }
 
 
-- 
2.9.3



More information about the Piglit mailing list