[Piglit] [PATCH 2/4] arb_compute_variable_group_size: set KHR_no_error compatibility
Timothy Arceri
tarceri at itsqueeze.com
Mon May 15 06:20:27 UTC 2017
---
tests/spec/arb_compute_variable_group_size/errors.c | 1 +
tests/spec/arb_compute_variable_group_size/local-size.c | 1 +
tests/spec/arb_compute_variable_group_size/minmax.c | 1 +
3 files changed, 3 insertions(+)
diff --git a/tests/spec/arb_compute_variable_group_size/errors.c b/tests/spec/arb_compute_variable_group_size/errors.c
index 68b06c3..5275daf 100644
--- a/tests/spec/arb_compute_variable_group_size/errors.c
+++ b/tests/spec/arb_compute_variable_group_size/errors.c
@@ -30,20 +30,21 @@
#include "piglit-util-gl.h"
#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 *variable_work_group_size_shader =
"#version 330\n"
"#extension GL_ARB_compute_shader: enable\n"
"#extension GL_ARB_compute_variable_group_size: enable\n"
"\n"
"layout(local_size_variable) in;\n"
"\n"
diff --git a/tests/spec/arb_compute_variable_group_size/local-size.c b/tests/spec/arb_compute_variable_group_size/local-size.c
index 26cf5d6..fff183d 100644
--- a/tests/spec/arb_compute_variable_group_size/local-size.c
+++ b/tests/spec/arb_compute_variable_group_size/local-size.c
@@ -26,20 +26,21 @@
* Checks gl_LocalGroupSizeARB at various sizes up to the implementation
* maximums using atomic counters.
*/
#include "piglit-util-gl.h"
PIGLIT_GL_TEST_CONFIG_BEGIN
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
static GLuint atomics_bo = 0;
static GLint prog = 0;
static uint32_t global_x = 1, global_y = 1, global_z = 1;
static uint32_t local_x = 0, local_y = 0, local_z = 0;
static int32_t max_local_x = 0, max_local_y = 0, max_local_z = 0;
static int32_t max_variable_invocations = 0;
diff --git a/tests/spec/arb_compute_variable_group_size/minmax.c b/tests/spec/arb_compute_variable_group_size/minmax.c
index cd8f1ea..beddc0a 100644
--- a/tests/spec/arb_compute_variable_group_size/minmax.c
+++ b/tests/spec/arb_compute_variable_group_size/minmax.c
@@ -27,20 +27,21 @@
* ARB_compute_variable_group_size extension.
*/
#include "piglit-util-gl.h"
#include "minmax-test.h"
PIGLIT_GL_TEST_CONFIG_BEGIN
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)
{
/* UNREACHED */
return PIGLIT_FAIL;
}
--
2.9.3
More information about the Piglit
mailing list