[Piglit] [PATCH 3/3] arb_copy_buffer: set KHR_no_error compatibility
Timothy Arceri
tarceri at itsqueeze.com
Mon May 15 01:28:09 UTC 2017
---
tests/spec/arb_copy_buffer/copy_buffer_coherency.c | 1 +
tests/spec/arb_copy_buffer/copybuffersubdata.c | 1 +
tests/spec/arb_copy_buffer/data-sync.c | 1 +
tests/spec/arb_copy_buffer/dlist.c | 1 +
tests/spec/arb_copy_buffer/get.c | 1 +
tests/spec/arb_copy_buffer/intra-buffer-copy.c | 1 +
tests/spec/arb_copy_buffer/negative-bound-zero.c | 1 +
tests/spec/arb_copy_buffer/negative-bounds.c | 1 +
tests/spec/arb_copy_buffer/negative-mapped.c | 1 +
tests/spec/arb_copy_buffer/overlap.c | 1 +
tests/spec/arb_copy_buffer/subdata-sync.c | 1 +
tests/spec/arb_copy_buffer/targets.c | 1 +
12 files changed, 12 insertions(+)
diff --git a/tests/spec/arb_copy_buffer/copy_buffer_coherency.c b/tests/spec/arb_copy_buffer/copy_buffer_coherency.c
index b78fdca..c57a146 100644
--- a/tests/spec/arb_copy_buffer/copy_buffer_coherency.c
+++ b/tests/spec/arb_copy_buffer/copy_buffer_coherency.c
@@ -31,20 +31,21 @@
uint8_t src_data[COPY_BUFFER_SIZE];
uint8_t dest_data[COPY_BUFFER_SIZE];
PIGLIT_GL_TEST_CONFIG_BEGIN
config.supports_gl_compat_version = 10;
config.window_width = 400;
config.window_height = 300;
config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE;
+ config.khr_no_error_support = PIGLIT_NO_ERRORS;
PIGLIT_GL_TEST_CONFIG_END
enum piglit_result
piglit_display(void)
{
return PIGLIT_PASS;
}
static enum piglit_result
diff --git a/tests/spec/arb_copy_buffer/copybuffersubdata.c b/tests/spec/arb_copy_buffer/copybuffersubdata.c
index 3c60d1a..229f88b 100644
--- a/tests/spec/arb_copy_buffer/copybuffersubdata.c
+++ b/tests/spec/arb_copy_buffer/copybuffersubdata.c
@@ -28,20 +28,21 @@
* Jan 2012
*/
#include "piglit-util-gl.h"
PIGLIT_GL_TEST_CONFIG_BEGIN
config.supports_gl_compat_version = 10;
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 bool
test_copy(void)
{
#define BUF_SIZE 600 /* multiple of 100 */
GLuint bufs[2];
char data[BUF_SIZE], *p;
diff --git a/tests/spec/arb_copy_buffer/data-sync.c b/tests/spec/arb_copy_buffer/data-sync.c
index 1cc8797..63dcb67 100644
--- a/tests/spec/arb_copy_buffer/data-sync.c
+++ b/tests/spec/arb_copy_buffer/data-sync.c
@@ -32,20 +32,21 @@
*/
#include "piglit-util-gl.h"
PIGLIT_GL_TEST_CONFIG_BEGIN
config.supports_gl_compat_version = 15;
config.supports_gl_core_version = 31;
config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE;
+ config.khr_no_error_support = PIGLIT_NO_ERRORS;
PIGLIT_GL_TEST_CONFIG_END
void
piglit_init(int argc, char *argv[])
{
bool pass = true;
uint32_t dummy_data_1[4], dummy_data_2[4];
uint32_t good_data[4] = {0, 1, 2, 3};
uint32_t result_data[4];
diff --git a/tests/spec/arb_copy_buffer/dlist.c b/tests/spec/arb_copy_buffer/dlist.c
index b7ad2aa..21afa6b 100644
--- a/tests/spec/arb_copy_buffer/dlist.c
+++ b/tests/spec/arb_copy_buffer/dlist.c
@@ -31,20 +31,21 @@
* CopyBufferSubData"
*/
#include "piglit-util-gl.h"
PIGLIT_GL_TEST_CONFIG_BEGIN
config.supports_gl_compat_version = 10;
config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE;
+ config.khr_no_error_support = PIGLIT_NO_ERRORS;
PIGLIT_GL_TEST_CONFIG_END
enum piglit_result
piglit_display(void)
{
/* uncreached */
return PIGLIT_FAIL;
}
diff --git a/tests/spec/arb_copy_buffer/get.c b/tests/spec/arb_copy_buffer/get.c
index 31bebf7..b9a2402 100644
--- a/tests/spec/arb_copy_buffer/get.c
+++ b/tests/spec/arb_copy_buffer/get.c
@@ -26,20 +26,21 @@
* Tests that the getters for the new binding points in GL_ARB_copy_buffer work.
*/
#include "piglit-util-gl.h"
PIGLIT_GL_TEST_CONFIG_BEGIN
config.supports_gl_compat_version = 10;
config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE;
+ config.khr_no_error_support = PIGLIT_NO_ERRORS;
PIGLIT_GL_TEST_CONFIG_END
enum piglit_result
piglit_display(void)
{
/* uncreached */
return PIGLIT_FAIL;
}
diff --git a/tests/spec/arb_copy_buffer/intra-buffer-copy.c b/tests/spec/arb_copy_buffer/intra-buffer-copy.c
index 04f9808..6177d55 100644
--- a/tests/spec/arb_copy_buffer/intra-buffer-copy.c
+++ b/tests/spec/arb_copy_buffer/intra-buffer-copy.c
@@ -27,20 +27,21 @@
* Brian Paul
* 21 June 2016
*/
#include "piglit-util-gl.h"
PIGLIT_GL_TEST_CONFIG_BEGIN
config.supports_gl_compat_version = 15;
config.supports_gl_core_version = 31;
config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE;
+ config.khr_no_error_support = PIGLIT_NO_ERRORS;
PIGLIT_GL_TEST_CONFIG_END
void
piglit_init(int argc, char *argv[])
{
bool pass = true;
GLuint buffer;
GLubyte data[250], *map;
int i;
diff --git a/tests/spec/arb_copy_buffer/negative-bound-zero.c b/tests/spec/arb_copy_buffer/negative-bound-zero.c
index c7dd478..eb98aef 100644
--- a/tests/spec/arb_copy_buffer/negative-bound-zero.c
+++ b/tests/spec/arb_copy_buffer/negative-bound-zero.c
@@ -29,20 +29,21 @@
* readtarget or writetarget."
*/
#include "piglit-util-gl.h"
PIGLIT_GL_TEST_CONFIG_BEGIN
config.supports_gl_compat_version = 10;
config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE;
+ config.khr_no_error_support = PIGLIT_HAS_ERRORS;
PIGLIT_GL_TEST_CONFIG_END
enum piglit_result
piglit_display(void)
{
/* uncreached */
return PIGLIT_FAIL;
}
diff --git a/tests/spec/arb_copy_buffer/negative-bounds.c b/tests/spec/arb_copy_buffer/negative-bounds.c
index fbc4ae8..0f08632 100644
--- a/tests/spec/arb_copy_buffer/negative-bounds.c
+++ b/tests/spec/arb_copy_buffer/negative-bounds.c
@@ -35,20 +35,21 @@
* error checking doesn't fail copies within the bounds.
*/
#include "piglit-util-gl.h"
PIGLIT_GL_TEST_CONFIG_BEGIN
config.supports_gl_compat_version = 10;
config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE;
+ config.khr_no_error_support = PIGLIT_HAS_ERRORS;
PIGLIT_GL_TEST_CONFIG_END
enum piglit_result
piglit_display(void)
{
/* uncreached */
return PIGLIT_FAIL;
}
diff --git a/tests/spec/arb_copy_buffer/negative-mapped.c b/tests/spec/arb_copy_buffer/negative-mapped.c
index 2f8f798..8357d29 100644
--- a/tests/spec/arb_copy_buffer/negative-mapped.c
+++ b/tests/spec/arb_copy_buffer/negative-mapped.c
@@ -29,20 +29,21 @@
* bound to either readtarget or writetarget are mapped."
*/
#include "piglit-util-gl.h"
PIGLIT_GL_TEST_CONFIG_BEGIN
config.supports_gl_compat_version = 10;
config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE;
+ config.khr_no_error_support = PIGLIT_HAS_ERRORS;
PIGLIT_GL_TEST_CONFIG_END
enum piglit_result
piglit_display(void)
{
/* uncreached */
return PIGLIT_FAIL;
}
diff --git a/tests/spec/arb_copy_buffer/overlap.c b/tests/spec/arb_copy_buffer/overlap.c
index fce3bb0..9f87025 100644
--- a/tests/spec/arb_copy_buffer/overlap.c
+++ b/tests/spec/arb_copy_buffer/overlap.c
@@ -34,20 +34,21 @@
* overlap, but with one buffer being both src and dst.
*/
#include "piglit-util-gl.h"
PIGLIT_GL_TEST_CONFIG_BEGIN
config.supports_gl_compat_version = 10;
config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE;
+ config.khr_no_error_support = PIGLIT_HAS_ERRORS;
PIGLIT_GL_TEST_CONFIG_END
static void
test_copy(GLenum usage, int data_size, int src, int dst, int size)
{
uint8_t *data;
uint8_t *expected;
uint8_t *ptr;
int i;
diff --git a/tests/spec/arb_copy_buffer/subdata-sync.c b/tests/spec/arb_copy_buffer/subdata-sync.c
index 38a3c6a..e55a4ef 100644
--- a/tests/spec/arb_copy_buffer/subdata-sync.c
+++ b/tests/spec/arb_copy_buffer/subdata-sync.c
@@ -32,20 +32,21 @@
*/
#include "piglit-util-gl.h"
PIGLIT_GL_TEST_CONFIG_BEGIN
config.supports_gl_compat_version = 15;
config.supports_gl_core_version = 31;
config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE;
+ config.khr_no_error_support = PIGLIT_NO_ERRORS;
PIGLIT_GL_TEST_CONFIG_END
void
piglit_init(int argc, char *argv[])
{
bool pass = true;
uint32_t dummy_data_1[4], dummy_data_2[4];
uint32_t good_data[4] = {0, 1, 2, 3};
uint32_t result_data[4];
diff --git a/tests/spec/arb_copy_buffer/targets.c b/tests/spec/arb_copy_buffer/targets.c
index ca6c94f..7303c84 100644
--- a/tests/spec/arb_copy_buffer/targets.c
+++ b/tests/spec/arb_copy_buffer/targets.c
@@ -45,20 +45,21 @@
* that copies work for them.
*/
#include "piglit-util-gl.h"
PIGLIT_GL_TEST_CONFIG_BEGIN
config.supports_gl_compat_version = 10;
config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE;
+ config.khr_no_error_support = PIGLIT_NO_ERRORS;
PIGLIT_GL_TEST_CONFIG_END
enum piglit_result
piglit_display(void)
{
/* uncreached */
return PIGLIT_FAIL;
}
--
2.9.3
More information about the Piglit
mailing list