There is still a huge number of tests to classify but this gives us a good number of tests to start testing with. ---
Depends on [1] [1] https://patchwork.freedesktop.org/series/24332/ tests/bugs/fdo22540.c | 1 + tests/fbo/fbo-depth-sample-compare.c | 1 + tests/fbo/fbo-depthstencil.c | 1 + tests/fbo/fbo-generatemipmap-3d.c | 1 + tests/fbo/fbo-generatemipmap-array.c | 1 + tests/fbo/fbo-generatemipmap-cubemap.c | 1 + tests/fbo/fbo-tex-rgbx.c | 1 + tests/general/array-stride.c | 1 + tests/general/attribs.c | 1 + tests/general/bgra-sec-color-pointer.c | 1 + tests/general/clipflat.c | 1 + tests/general/degenerate-prims.c | 1 + tests/general/depthfunc.c | 1 + tests/general/depthrange-clear.c | 1 + tests/general/draw-arrays-colormaterial.c | 1 + tests/general/draw-batch.c | 1 + tests/general/draw-elements-vs-inputs.c | 1 + tests/general/draw-elements.c | 1 + tests/general/draw-vertices-half-float.c | 1 + tests/general/draw-vertices.c | 1 + tests/general/drawpix-z.c | 1 + tests/general/line-flat-clip-color.c | 1 + tests/general/object-namespace-pollution.c | 1 + tests/general/polygon-mode-facing.c | 1 + tests/general/polygon-mode.c | 1 + tests/general/pos-array.c | 1 + tests/general/primitive-restart.c | 1 + tests/general/quad-invariance.c | 1 + tests/general/readpix-z.c | 1 + tests/general/triangle-rasterization-overdraw.cpp | 1 + tests/general/triangle-rasterization.cpp | 1 + tests/general/vao-01.c | 1 + tests/general/vao-02.c | 1 + tests/general/vao-element-array-buffer.c | 1 + tests/general/varray-disabled.c | 1 + tests/general/vbo-bufferdata.c | 1 + tests/general/vbo-map-remap.c | 1 + tests/general/vbo-map-unsync.c | 1 + tests/general/vbo-subdata-sync.c | 1 + tests/general/vbo-subdata-zero.c | 1 + tests/shaders/glsl-fs-flat-color.c | 1 + tests/shaders/glsl-fs-fragcoord-zw-ortho.c | 1 + tests/shaders/glsl-fs-fragcoord-zw-perspective.c | 1 + tests/shaders/glsl-kwin-blur-1.c | 1 + tests/shaders/glsl-kwin-blur-2.c | 1 + tests/shaders/glsl-routing.c | 1 + tests/shaders/glsl-vs-point-size.c | 1 + tests/shaders/useprogram-flushverts-2.c | 1 + tests/spec/amd_pinned_memory/test.c | 1 + tests/spec/arb_buffer_storage/bufferstorage.c | 1 + tests/spec/arb_copy_image/targets.c | 1 + tests/spec/arb_draw_elements_base_vertex/bounds.c | 1 + tests/spec/arb_draw_elements_base_vertex/drawelements-instanced.c | 1 + tests/spec/arb_draw_elements_base_vertex/drawelements.c | 1 + tests/spec/arb_draw_elements_base_vertex/negative-index.c | 1 + tests/spec/arb_draw_instanced/execution/drawarrays.c | 1 + tests/spec/arb_draw_instanced/execution/elements.c | 1 + tests/spec/arb_framebuffer_srgb/blit.c | 1 + tests/spec/arb_instanced_arrays/drawarrays.c | 1 + tests/spec/arb_instanced_arrays/instanced_arrays.c | 1 + tests/spec/arb_map_buffer_alignment/map-invalidate-range.c | 1 + tests/spec/arb_map_buffer_range/invalidate.c | 1 + tests/spec/arb_robustness/draw-vbo-bounds.c | 1 + tests/spec/arb_transform_feedback2/draw-auto.c | 1 + tests/spec/arb_vertex_buffer_object/combined-vertex-index.c | 1 + tests/spec/arb_vertex_buffer_object/elements-negative-offset.c | 1 + tests/spec/arb_vertex_buffer_object/ib-data-sync.c | 1 + tests/spec/arb_vertex_buffer_object/ib-subdata-sync.c | 1 + tests/spec/arb_vertex_buffer_object/mixed-immediate-and-vbo.c | 1 + tests/spec/arb_vertex_buffer_object/vbo-subdata-many.c | 1 + tests/spec/arb_vertex_type_2_10_10_10_rev/draw-vertices-2101010.c | 1 + tests/spec/ati_envmap_bumpmap/bump.c | 1 + tests/spec/ext_framebuffer_multisample/accuracy.cpp | 1 + tests/spec/ext_framebuffer_multisample/alpha-blending.c | 1 + tests/spec/ext_transform_feedback/discard-drawarrays.c | 1 + tests/spec/ext_transform_feedback/interleaved.c | 1 + tests/spec/ext_transform_feedback/output-type.c | 1 + tests/spec/ext_transform_feedback/points.c | 1 + tests/spec/ext_transform_feedback/position.c | 1 + tests/spec/ext_transform_feedback/separate.c | 1 + tests/spec/gl-1.0/rendermode-feedback.c | 1 + tests/spec/gl-1.4/dlist-multidrawarrays.c | 1 + tests/spec/gl-1.5/normal3b3s-invariance.c | 1 + tests/spec/gl-1.5/vertex-buffer-offsets.c | 1 + tests/spec/gl-2.0/edgeflag.c | 1 + tests/spec/gl-2.0/vertex-program-two-side.c | 1 + tests/spec/glsl-1.10/execution/varying-packing/simple.c | 1 + tests/spec/glsl-1.30/execution/vertexid-drawarrays.c | 1 + tests/spec/glsl-1.30/execution/vertexid-drawelements.c | 1 + tests/spec/oes_fixed_point/oes_fixed_point-attribute-arrays.c | 1 + tests/texturing/depth-cube-map.c | 1 + tests/texturing/depthstencil-render-miplevels.cpp | 1 + tests/texturing/shaders/textureGather.c | 1 + tests/texturing/shaders/textureSamples.c | 1 + tests/texturing/shaders/textureSize.c | 1 + tests/texturing/tex-skipped-unit.c | 1 + tests/texturing/tex3d-depth1.c | 1 + tests/texturing/teximage-colors.c | 1 + tests/texturing/texsubimage.c | 1 + 99 files changed, 99 insertions(+) diff --git a/tests/bugs/fdo22540.c b/tests/bugs/fdo22540.c index 6687ea3..f8f1db4 100644 --- a/tests/bugs/fdo22540.c +++ b/tests/bugs/fdo22540.c @@ -25,20 +25,21 @@ #include "piglit-util-gl.h" 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_DOUBLE | PIGLIT_GL_VISUAL_RGB; + config.khr_no_error_support = PIGLIT_NO_ERRORS; PIGLIT_GL_TEST_CONFIG_END static GLuint vBuffer; static void Init(void) { piglit_require_extension("GL_ARB_vertex_buffer_object"); glMatrixMode(GL_PROJECTION); diff --git a/tests/fbo/fbo-depth-sample-compare.c b/tests/fbo/fbo-depth-sample-compare.c index 8136f40..033f303 100644 --- a/tests/fbo/fbo-depth-sample-compare.c +++ b/tests/fbo/fbo-depth-sample-compare.c @@ -45,20 +45,21 @@ #define SIZE 256 PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_width = 3*SIZE; config.window_height = SIZE; config.window_visual = PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_DEPTH; + config.khr_no_error_support = PIGLIT_NO_ERRORS; PIGLIT_GL_TEST_CONFIG_END static GLfloat ErrorScale = 0.0; static GLuint ColorTex, DepthTex, FBO; static GLuint ShaderProg; static GLint Zbits; static GLenum TexTarget = GL_TEXTURE_2D; diff --git a/tests/fbo/fbo-depthstencil.c b/tests/fbo/fbo-depthstencil.c index a4cdb79..641c462 100644 --- a/tests/fbo/fbo-depthstencil.c +++ b/tests/fbo/fbo-depthstencil.c @@ -32,20 +32,21 @@ #define BUF_SIZE 123 PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_width = BUF_SIZE; config.window_height = BUF_SIZE; config.window_visual = PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_DEPTH | PIGLIT_GL_VISUAL_STENCIL; + config.khr_no_error_support = PIGLIT_NO_ERRORS; PIGLIT_GL_TEST_CONFIG_END enum { CLEAR, READPIXELS, DRAWPIXELS, COPYPIXELS, BLIT }; diff --git a/tests/fbo/fbo-generatemipmap-3d.c b/tests/fbo/fbo-generatemipmap-3d.c index f175432..b1fac68 100644 --- a/tests/fbo/fbo-generatemipmap-3d.c +++ b/tests/fbo/fbo-generatemipmap-3d.c @@ -31,20 +31,21 @@ #define DRAW_SIZE 32 PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 20; config.window_width = 600; config.window_height = 300; config.window_visual = PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_RGBA; + config.khr_no_error_support = PIGLIT_NO_ERRORS; PIGLIT_GL_TEST_CONFIG_END static const char *fs_3d = "uniform sampler3D tex; \n" "void main() \n" "{ \n" " gl_FragColor = texture3D(tex, gl_TexCoord[0].xyz); \n" "} \n"; diff --git a/tests/fbo/fbo-generatemipmap-array.c b/tests/fbo/fbo-generatemipmap-array.c index 2c443bb..7111ef0 100644 --- a/tests/fbo/fbo-generatemipmap-array.c +++ b/tests/fbo/fbo-generatemipmap-array.c @@ -38,20 +38,21 @@ #define TEX_WIDTH 128 #define TEX_HEIGHT 128 PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 20; config.window_width = 600; config.window_height = 560; config.window_visual = PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_RGB; + config.khr_no_error_support = PIGLIT_NO_ERRORS; PIGLIT_GL_TEST_CONFIG_END static const float green[] = {0, 1, 0, 0}; static const float blue[] = {0, 0, 1, 0}; static const float white[] = {1, 1, 1, 1}; static const char *prog = "fbo-array"; /* debug aid */ static void diff --git a/tests/fbo/fbo-generatemipmap-cubemap.c b/tests/fbo/fbo-generatemipmap-cubemap.c index 60b67db..963825d 100644 --- a/tests/fbo/fbo-generatemipmap-cubemap.c +++ b/tests/fbo/fbo-generatemipmap-cubemap.c @@ -32,20 +32,21 @@ #define DRAW_SIZE 32 PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 20; config.window_width = 680; config.window_height = 620; config.window_visual = PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_RGBA; + config.khr_no_error_support = PIGLIT_NO_ERRORS; PIGLIT_GL_TEST_CONFIG_END static const char *fs_cube = "uniform samplerCube tex; \n" "void main() \n" "{ \n" " gl_FragColor = textureCube(tex, gl_TexCoord[0].xyz); \n" "} \n"; diff --git a/tests/fbo/fbo-tex-rgbx.c b/tests/fbo/fbo-tex-rgbx.c index feb2095..79bfdfd 100644 --- a/tests/fbo/fbo-tex-rgbx.c +++ b/tests/fbo/fbo-tex-rgbx.c @@ -36,20 +36,21 @@ #include "piglit-util-gl.h" #define TEX_SIZE 256 PIGLIT_GL_TEST_CONFIG_BEGIN config.window_width = TEX_SIZE; config.window_height = TEX_SIZE; config.supports_gl_compat_version = 10; 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 *fragShaderText = "uniform sampler2D tex; \n" "void main() \n" "{ \n" " gl_FragColor = texture2D(tex, gl_TexCoord[0].xy); \n" "} \n"; diff --git a/tests/general/array-stride.c b/tests/general/array-stride.c index 1e15536..287ce63 100644 --- a/tests/general/array-stride.c +++ b/tests/general/array-stride.c @@ -27,20 +27,21 @@ * June 14, 2011 */ #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 const char *TestName = "array-stride"; #define ROWS 10 #define COLS 10 #define NUM_VERTS (ROWS * COLS * 4) diff --git a/tests/general/attribs.c b/tests/general/attribs.c index 198f075..05a0d4a 100644 --- a/tests/general/attribs.c +++ b/tests/general/attribs.c @@ -32,20 +32,21 @@ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_width = 512; config.window_height = 512; config.window_visual = PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_RGBA; + config.khr_no_error_support = PIGLIT_NO_ERRORS; PIGLIT_GL_TEST_CONFIG_END static GLboolean snorm_equation_23; enum { R, RG, RGB, RGBA diff --git a/tests/general/bgra-sec-color-pointer.c b/tests/general/bgra-sec-color-pointer.c index e9589f3..570daf9 100644 --- a/tests/general/bgra-sec-color-pointer.c +++ b/tests/general/bgra-sec-color-pointer.c @@ -32,20 +32,21 @@ #include "piglit-util-gl.h" 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_RGBA | PIGLIT_GL_VISUAL_DOUBLE; + config.khr_no_error_support = PIGLIT_NO_ERRORS; PIGLIT_GL_TEST_CONFIG_END static GLfloat verts[12] = {225.0, 175.0, 0.0, 225.0, 225.0, 0.0, 175.0, 175.0, 0.0, 175.0, 225.0, 0.0}; static GLubyte colors[16] = {255, 0, 0, 127, diff --git a/tests/general/clipflat.c b/tests/general/clipflat.c index bff7f0f..1820418 100644 --- a/tests/general/clipflat.c +++ b/tests/general/clipflat.c @@ -38,20 +38,21 @@ * * Author: Brian Paul */ #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 /* Note: all correctly rendered tris/quad/polygons will be green. * Any other color indicates that the wrong vertex color was used. */ // GL_TRIANGLES: provoking vertex = last of tri static const GLfloat TriVerts[6][5] = { diff --git a/tests/general/degenerate-prims.c b/tests/general/degenerate-prims.c index 4f35080..7ed6093 100644 --- a/tests/general/degenerate-prims.c +++ b/tests/general/degenerate-prims.c @@ -31,20 +31,21 @@ * Brian Paul * Feb 2013 */ #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 /** * Test a specific degenerate primitive. * The expected outcome is that nothing will be drawn. */ static bool test_prim(GLenum prim, unsigned numVerts, const void *verts) { diff --git a/tests/general/depthfunc.c b/tests/general/depthfunc.c index 5441cad..2973369 100644 --- a/tests/general/depthfunc.c +++ b/tests/general/depthfunc.c @@ -31,20 +31,21 @@ */ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_height = 200; config.window_visual = PIGLIT_GL_VISUAL_RGBA | PIGLIT_GL_VISUAL_DEPTH; + config.khr_no_error_support = PIGLIT_NO_ERRORS; PIGLIT_GL_TEST_CONFIG_END /** * Convenience function to draw an axis-aligned rectangle. */ static void draw_rect_depth(float x, float y, float w, float h, float d) { float verts[4][4]; diff --git a/tests/general/depthrange-clear.c b/tests/general/depthrange-clear.c index e382401..827b462 100644 --- a/tests/general/depthrange-clear.c +++ b/tests/general/depthrange-clear.c @@ -31,20 +31,21 @@ * Caught a regression in the intel driver with the metaops clear code. */ #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 | PIGLIT_GL_VISUAL_DEPTH; + config.khr_no_error_support = PIGLIT_NO_ERRORS; PIGLIT_GL_TEST_CONFIG_END /** * Convenience function to draw an axis-aligned rectangle. */ static void draw_rect(float x, float y, float w, float h, float d) { float verts[4][4]; diff --git a/tests/general/draw-arrays-colormaterial.c b/tests/general/draw-arrays-colormaterial.c index e184011..9864e7a 100644 --- a/tests/general/draw-arrays-colormaterial.c +++ b/tests/general/draw-arrays-colormaterial.c @@ -30,20 +30,21 @@ */ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_visual = PIGLIT_GL_VISUAL_RGBA | PIGLIT_GL_VISUAL_DOUBLE; + config.khr_no_error_support = PIGLIT_NO_ERRORS; PIGLIT_GL_TEST_CONFIG_END #define DX0 -0.6 static GLfloat pos0[4][3] = { { 0.5 + DX0, -0.5, 0.0 }, { 0.5 + DX0, 0.5, 0.0 }, { -0.5 + DX0, 0.5, 0.0 }, diff --git a/tests/general/draw-batch.c b/tests/general/draw-batch.c index 4148bfa..4330d57 100644 --- a/tests/general/draw-batch.c +++ b/tests/general/draw-batch.c @@ -22,20 +22,21 @@ * */ #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 void piglit_init(int argc, char **argv) { piglit_require_gl_version(14); } static void rotate_colors(float *array) diff --git a/tests/general/draw-elements-vs-inputs.c b/tests/general/draw-elements-vs-inputs.c index 6611b18..9e594ca 100644 --- a/tests/general/draw-elements-vs-inputs.c +++ b/tests/general/draw-elements-vs-inputs.c @@ -39,20 +39,21 @@ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_width = 300; 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 void piglit_init(int argc, char **argv) { GLfloat red[4] = {1, 0, 0, 1}; piglit_require_gl_version(12); diff --git a/tests/general/draw-elements.c b/tests/general/draw-elements.c index d20e85a..12fad47 100644 --- a/tests/general/draw-elements.c +++ b/tests/general/draw-elements.c @@ -31,20 +31,21 @@ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_width = 320; config.window_height = 60; config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE; + config.khr_no_error_support = PIGLIT_NO_ERRORS; PIGLIT_GL_TEST_CONFIG_END GLboolean user = GL_FALSE; void piglit_init(int argc, char **argv) { unsigned i; for (i = 1; i < argc; i++) { diff --git a/tests/general/draw-vertices-half-float.c b/tests/general/draw-vertices-half-float.c index 2489c99..4351012 100644 --- a/tests/general/draw-vertices-half-float.c +++ b/tests/general/draw-vertices-half-float.c @@ -32,20 +32,21 @@ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.supports_gl_es_version = 20; config.window_width = 320; config.window_height = 60; config.window_visual = PIGLIT_GL_VISUAL_RGBA | PIGLIT_GL_VISUAL_DOUBLE; + config.khr_no_error_support = PIGLIT_NO_ERRORS; PIGLIT_GL_TEST_CONFIG_END GLboolean user_va = GL_FALSE; static GLenum vertex_array_type; #ifndef PIGLIT_USE_OPENGL static const char *vs_text = "attribute vec4 position;\n" diff --git a/tests/general/draw-vertices.c b/tests/general/draw-vertices.c index 2a2041f..7a95531 100644 --- a/tests/general/draw-vertices.c +++ b/tests/general/draw-vertices.c @@ -31,20 +31,21 @@ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_width = 320; config.window_height = 60; config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE; + config.khr_no_error_support = PIGLIT_NO_ERRORS; PIGLIT_GL_TEST_CONFIG_END GLboolean user_va = GL_FALSE; void piglit_init(int argc, char **argv) { unsigned i; for (i = 1; i < argc; i++) { diff --git a/tests/general/drawpix-z.c b/tests/general/drawpix-z.c index 1cb01f5..597489b 100644 --- a/tests/general/drawpix-z.c +++ b/tests/general/drawpix-z.c @@ -36,20 +36,21 @@ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_width = 200; config.window_height = 200; config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_DEPTH; + config.khr_no_error_support = PIGLIT_NO_ERRORS; PIGLIT_GL_TEST_CONFIG_END static void draw_z_gradient(GLfloat zLeft, GLfloat zRight) { GLfloat verts[4][3]; verts[0][0] = -1.0; verts[0][1] = -1.0; verts[0][2] = zLeft; verts[1][0] = 1.0; verts[1][1] = -1.0; verts[1][2] = zRight; diff --git a/tests/general/line-flat-clip-color.c b/tests/general/line-flat-clip-color.c index e290a5d..0a7d2a1 100644 --- a/tests/general/line-flat-clip-color.c +++ b/tests/general/line-flat-clip-color.c @@ -27,20 +27,21 @@ * * Author: Brian Paul */ #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 /* far left, far right verts */ static const float verts[2][2] = { { -10.0, 0.0 }, { 10.0, 0.0 } }; static const float colors[2][3] = { { 1.0, 0.0, 0.0 }, { 0.0, 1.0, 0.0 } diff --git a/tests/general/object-namespace-pollution.c b/tests/general/object-namespace-pollution.c index 6ac6aee..8937143 100644 --- a/tests/general/object-namespace-pollution.c +++ b/tests/general/object-namespace-pollution.c @@ -98,20 +98,21 @@ * the vast majority of possible failures. Verifying the correctness of the * GL operation would add a lot of complexity to the test. */ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 12; config.window_visual = PIGLIT_GL_VISUAL_RGBA | PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_DEPTH | PIGLIT_GL_VISUAL_STENCIL; + config.khr_no_error_support = PIGLIT_NO_ERRORS; PIGLIT_GL_TEST_CONFIG_END struct enum_value_pair { GLenum value; GLint expected; }; #define BUFFER_OFFSET(i) ((char *)NULL + (i)) diff --git a/tests/general/polygon-mode-facing.c b/tests/general/polygon-mode-facing.c index d04ba10..dcef353 100644 --- a/tests/general/polygon-mode-facing.c +++ b/tests/general/polygon-mode-facing.c @@ -30,20 +30,21 @@ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 20; config.window_width = 400; config.window_height = 100; 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 *TestName = "polygon-mode-facing"; static const char *vstext = "#version 130\n" "\n" "void main()\n" "{\n" diff --git a/tests/general/polygon-mode.c b/tests/general/polygon-mode.c index 15a0064..ce109c1 100644 --- a/tests/general/polygon-mode.c +++ b/tests/general/polygon-mode.c @@ -30,20 +30,21 @@ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_width = 500; config.window_height = 100; 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 float ortho_left = -1, ortho_right = 8, ortho_bottom = -2, ortho_top = 2; static const char *TestName = "polygon-mode"; #define VERTS 16 static const GLfloat Positions[VERTS][2] = { diff --git a/tests/general/pos-array.c b/tests/general/pos-array.c index a3776a3..16945c4 100644 --- a/tests/general/pos-array.c +++ b/tests/general/pos-array.c @@ -30,20 +30,21 @@ * May 2011 */ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; 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 = "pos-array"; static const GLfloat VertexData[] = { /* positions */ -1, -1, 1, -1, 1, 1, diff --git a/tests/general/primitive-restart.c b/tests/general/primitive-restart.c index dfa1804..b14db66 100644 --- a/tests/general/primitive-restart.c +++ b/tests/general/primitive-restart.c @@ -33,20 +33,21 @@ #include "piglit-util-gl.h" 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 static const char *TestName = "primitive-restart"; typedef enum { DISABLE_VBO, VBO_VERTEX_ONLY, VBO_INDEX_ONLY, VBO_SEPARATE_VERTEX_AND_INDEX, diff --git a/tests/general/quad-invariance.c b/tests/general/quad-invariance.c index b5741d0..95cdfaf 100644 --- a/tests/general/quad-invariance.c +++ b/tests/general/quad-invariance.c @@ -36,20 +36,21 @@ * test is only a warning. */ #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) { GLboolean pass = GL_TRUE; float verts[12][2] = { /* prim 1: left half of screen. */ {-1.0, -1.0}, diff --git a/tests/general/readpix-z.c b/tests/general/readpix-z.c index eb523af..08e4a38 100644 --- a/tests/general/readpix-z.c +++ b/tests/general/readpix-z.c @@ -29,20 +29,21 @@ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_width = 200; config.window_height = 200; config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_DEPTH; + config.khr_no_error_support = PIGLIT_NO_ERRORS; PIGLIT_GL_TEST_CONFIG_END /** Display contents of the depth buffer as grayscale color */ static void display_depth(const GLfloat *buf) { glWindowPos2i(0, 0); diff --git a/tests/general/triangle-rasterization-overdraw.cpp b/tests/general/triangle-rasterization-overdraw.cpp index 45ae66a..abeaf22 100644 --- a/tests/general/triangle-rasterization-overdraw.cpp +++ b/tests/general/triangle-rasterization-overdraw.cpp @@ -72,20 +72,21 @@ int random_test_count = 10; /* Piglit variables */ PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_width = 1000; config.window_height = 1000; config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE; + config.khr_no_error_support = PIGLIT_NO_ERRORS; PIGLIT_GL_TEST_CONFIG_END /* Globals */ int test_id = 0; Mersenne mersenne; /* Random floating point number between 0 and 1. */ static inline float diff --git a/tests/general/triangle-rasterization.cpp b/tests/general/triangle-rasterization.cpp index e196280..db8fbc4 100644 --- a/tests/general/triangle-rasterization.cpp +++ b/tests/general/triangle-rasterization.cpp @@ -112,20 +112,21 @@ int fbo_height = 256; /* Piglit variables */ PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_width = fbo_width; config.window_height = fbo_height; config.window_visual = PIGLIT_GL_VISUAL_RGBA | PIGLIT_GL_VISUAL_DOUBLE; + config.khr_no_error_support = PIGLIT_NO_ERRORS; PIGLIT_GL_TEST_CONFIG_END /* Globals */ int test_id = 0; Mersenne mersenne; std::vector<Triangle> fixed_tests; /* std::algorithm min/max with 3 arguments! :D */ diff --git a/tests/general/vao-01.c b/tests/general/vao-01.c index e111999..acf89b0 100644 --- a/tests/general/vao-01.c +++ b/tests/general/vao-01.c @@ -38,20 +38,21 @@ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_width = 400; config.window_height = 200; 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; } void diff --git a/tests/general/vao-02.c b/tests/general/vao-02.c index 136be1d..e5809be 100644 --- a/tests/general/vao-02.c +++ b/tests/general/vao-02.c @@ -38,20 +38,21 @@ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_width = 400; config.window_height = 200; 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; } void diff --git a/tests/general/vao-element-array-buffer.c b/tests/general/vao-element-array-buffer.c index 4b2106d..519b14c 100644 --- a/tests/general/vao-element-array-buffer.c +++ b/tests/general/vao-element-array-buffer.c @@ -28,20 +28,21 @@ * */ #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 GLuint vao; enum piglit_result piglit_display(void) { GLboolean pass = GL_TRUE; GLfloat expected[4] = {1, 0, 0, 1}; diff --git a/tests/general/varray-disabled.c b/tests/general/varray-disabled.c index 44fb471..d7b7b83 100644 --- a/tests/general/varray-disabled.c +++ b/tests/general/varray-disabled.c @@ -34,20 +34,21 @@ * http://bugs.freedesktop.org/show_bug.cgi?id=19911 */ #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 void set_colors(GLfloat *color_array, GLfloat *color) { int i; for (i = 0; i < 4; i++) { color_array[i * 4 + 0] = color[0]; diff --git a/tests/general/vbo-bufferdata.c b/tests/general/vbo-bufferdata.c index d3a3906..13a79e4 100644 --- a/tests/general/vbo-bufferdata.c +++ b/tests/general/vbo-bufferdata.c @@ -27,20 +27,21 @@ #include "piglit-util-gl.h" 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 static GLuint vbo; void piglit_init(int argc, char **argv) { piglit_ortho_projection(piglit_width, piglit_height, GL_FALSE); diff --git a/tests/general/vbo-map-remap.c b/tests/general/vbo-map-remap.c index cb36d72..ff151a6 100644 --- a/tests/general/vbo-map-remap.c +++ b/tests/general/vbo-map-remap.c @@ -26,20 +26,21 @@ #include "piglit-util-gl.h" 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 static GLuint vbo; void piglit_init(int argc, char **argv) { piglit_ortho_projection(piglit_width, piglit_height, GL_FALSE); diff --git a/tests/general/vbo-map-unsync.c b/tests/general/vbo-map-unsync.c index b2e9ca4..72a3eef 100644 --- a/tests/general/vbo-map-unsync.c +++ b/tests/general/vbo-map-unsync.c @@ -28,20 +28,21 @@ * Based on a test program by Keith Whitwell, modified by Thomas Hellstrom. */ #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 #define BUFFER_OFFSET(i) ((char *)NULL + (i)) static const struct { GLfloat pos[3]; GLubyte color[4]; } verts[] = { { diff --git a/tests/general/vbo-subdata-sync.c b/tests/general/vbo-subdata-sync.c index f99bf6c..9492799 100644 --- a/tests/general/vbo-subdata-sync.c +++ b/tests/general/vbo-subdata-sync.c @@ -32,20 +32,21 @@ #include "piglit-util-gl.h" 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 static GLuint vbo; void piglit_init(int argc, char **argv) { piglit_require_extension("GL_ARB_vertex_buffer_object"); diff --git a/tests/general/vbo-subdata-zero.c b/tests/general/vbo-subdata-zero.c index 5c39513..a298ff4 100644 --- a/tests/general/vbo-subdata-zero.c +++ b/tests/general/vbo-subdata-zero.c @@ -26,20 +26,21 @@ #include "piglit-util-gl.h" 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 static GLuint vbo; void piglit_init(int argc, char **argv) { piglit_ortho_projection(piglit_width, piglit_height, GL_FALSE); diff --git a/tests/shaders/glsl-fs-flat-color.c b/tests/shaders/glsl-fs-flat-color.c index 9e6f433..d275207 100644 --- a/tests/shaders/glsl-fs-flat-color.c +++ b/tests/shaders/glsl-fs-flat-color.c @@ -25,20 +25,21 @@ * \file glsl-fs-flat-color.c * Test that gl_Color works correctly with GL_SHADE_MODEL of GL_FLAT */ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_visual = PIGLIT_GL_VISUAL_RGBA | PIGLIT_GL_VISUAL_DOUBLE; + config.khr_no_error_support = PIGLIT_NO_ERRORS; PIGLIT_GL_TEST_CONFIG_END GLuint prog; GLvoid draw_rect(float x, float y, float w, float h, float *color) { float verts[4][4]; float colors[16]; diff --git a/tests/shaders/glsl-fs-fragcoord-zw-ortho.c b/tests/shaders/glsl-fs-fragcoord-zw-ortho.c index b807bb1..711fa97 100644 --- a/tests/shaders/glsl-fs-fragcoord-zw-ortho.c +++ b/tests/shaders/glsl-fs-fragcoord-zw-ortho.c @@ -35,20 +35,21 @@ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_width = 256; config.window_height = 256; config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_DEPTH; + config.khr_no_error_support = PIGLIT_NO_ERRORS; PIGLIT_GL_TEST_CONFIG_END static void draw_quad(float x, float y, float w, float h) { float zLeft = -1.0, zRight = 1.0; float verts[4][4]; verts[0][0] = x; diff --git a/tests/shaders/glsl-fs-fragcoord-zw-perspective.c b/tests/shaders/glsl-fs-fragcoord-zw-perspective.c index 4a411bd..6e7cb79 100644 --- a/tests/shaders/glsl-fs-fragcoord-zw-perspective.c +++ b/tests/shaders/glsl-fs-fragcoord-zw-perspective.c @@ -35,20 +35,21 @@ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_width = 256; config.window_height = 256; config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_DEPTH; + config.khr_no_error_support = PIGLIT_NO_ERRORS; PIGLIT_GL_TEST_CONFIG_END static GLfloat Znear = 1.0, Zfar = 10.0; /** * Draw a quad where the bottom edge is on the near clip plane and the * top edge is on the far clip plane. Adjust the far coordinates' X and Y * values to fill the window. So the quad doesn't look like it's drawn in diff --git a/tests/shaders/glsl-kwin-blur-1.c b/tests/shaders/glsl-kwin-blur-1.c index 68b4ca2..b02641f 100644 --- a/tests/shaders/glsl-kwin-blur-1.c +++ b/tests/shaders/glsl-kwin-blur-1.c @@ -30,20 +30,21 @@ * with a 6 pixel blur radius (uses 7 varyings). */ #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 /* Size of viewport and test region. Note that there are pixel probes at * specific locations. */ #define WIDTH 100 #define HEIGHT 100 diff --git a/tests/shaders/glsl-kwin-blur-2.c b/tests/shaders/glsl-kwin-blur-2.c index 81cf0f4..1a3d06a 100644 --- a/tests/shaders/glsl-kwin-blur-2.c +++ b/tests/shaders/glsl-kwin-blur-2.c @@ -30,20 +30,21 @@ * with a 12 pixel blur radius (uses 13 varyings). */ #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 /* Size of viewport and test region. Note that there are pixel probes at * specific locations. */ #define WIDTH 100 #define HEIGHT 100 diff --git a/tests/shaders/glsl-routing.c b/tests/shaders/glsl-routing.c index 6fb1c24..9ba4950 100644 --- a/tests/shaders/glsl-routing.c +++ b/tests/shaders/glsl-routing.c @@ -34,20 +34,21 @@ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_width = 260; config.window_height = 365; config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE; + config.khr_no_error_support = PIGLIT_NO_ERRORS; PIGLIT_GL_TEST_CONFIG_END #define COLORS 2 #define TEXCOORDS 6 #define ATTRIBS (COLORS+TEXCOORDS) #define BOX_SIZE 25 static char vs_code[] = "void main()\n" diff --git a/tests/shaders/glsl-vs-point-size.c b/tests/shaders/glsl-vs-point-size.c index 9f5d57f..ab4ab08 100644 --- a/tests/shaders/glsl-vs-point-size.c +++ b/tests/shaders/glsl-vs-point-size.c @@ -33,20 +33,21 @@ * Bug #27250 */ #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 GLint prog; static const float white[4] = {1, 1, 1, 1}; static const float black[4] = {0, 0, 0, 0}; #define POINT_SIZE 16 diff --git a/tests/shaders/useprogram-flushverts-2.c b/tests/shaders/useprogram-flushverts-2.c index 53af184..164fd41 100644 --- a/tests/shaders/useprogram-flushverts-2.c +++ b/tests/shaders/useprogram-flushverts-2.c @@ -31,20 +31,21 @@ * getting flushed correctly with the previous shader. */ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; 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 GLint prog1, prog2; enum piglit_result piglit_display(void) { GLboolean pass = GL_TRUE; float green[4] = {0.0, 1.0, 0.0, 0.0}; diff --git a/tests/spec/amd_pinned_memory/test.c b/tests/spec/amd_pinned_memory/test.c index f8f1715..96bf764 100644 --- a/tests/spec/amd_pinned_memory/test.c +++ b/tests/spec/amd_pinned_memory/test.c @@ -32,20 +32,21 @@ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_width = 600; config.window_height = 480; 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 { TEST_OFFSET_0_FENCE_WAIT, TEST_OFFSET_INCR_NO_WAIT, TEST_OFFSET_DECR_NO_WAIT, }; static int test_offset = TEST_OFFSET_0_FENCE_WAIT; diff --git a/tests/spec/arb_buffer_storage/bufferstorage.c b/tests/spec/arb_buffer_storage/bufferstorage.c index 927c7f8..ef4df0c 100644 --- a/tests/spec/arb_buffer_storage/bufferstorage.c +++ b/tests/spec/arb_buffer_storage/bufferstorage.c @@ -36,20 +36,21 @@ PIGLIT_GL_TEST_CONFIG_BEGIN #ifdef PIGLIT_USE_OPENGL config.supports_gl_compat_version = 10; #else // PIGLIT_USE_OPENGL_ES3 config.supports_gl_es_version = 31; config.window_width = 100; config.window_height = 100; #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 enum test_flag { NONE, READ, DRAW }; #ifdef PIGLIT_USE_OPENGL_ES3 diff --git a/tests/spec/arb_copy_image/targets.c b/tests/spec/arb_copy_image/targets.c index 333631c..aea0e96 100644 --- a/tests/spec/arb_copy_image/targets.c +++ b/tests/spec/arb_copy_image/targets.c @@ -32,20 +32,21 @@ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 13; config.window_width = 34 * 8; config.window_height = 34 * 8; 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 float green[3] = {0.0, 1.0, 0.0}; static const float red[3] = {1.0, 0.0, 0.0}; static const float blue[3] = {0.0, 0.0, 1.0}; GLuint prog_1d_array, prog_1D_array; struct image { diff --git a/tests/spec/arb_draw_elements_base_vertex/bounds.c b/tests/spec/arb_draw_elements_base_vertex/bounds.c index cd9af45..a9c8057 100644 --- a/tests/spec/arb_draw_elements_base_vertex/bounds.c +++ b/tests/spec/arb_draw_elements_base_vertex/bounds.c @@ -35,20 +35,21 @@ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_width = 300; 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 static GLfloat vertices[][4] = { { 1, -1, 0, 1 }, /* bottom right */ { 1, 1, 0, 1 }, /* top right */ { -1, 1, 0, 1 }, /* top left */ { -1, -1, 0, 1 }, /* bottom left */ }; static GLubyte colors[][4] = { diff --git a/tests/spec/arb_draw_elements_base_vertex/drawelements-instanced.c b/tests/spec/arb_draw_elements_base_vertex/drawelements-instanced.c index e82de05..5d134b7 100644 --- a/tests/spec/arb_draw_elements_base_vertex/drawelements-instanced.c +++ b/tests/spec/arb_draw_elements_base_vertex/drawelements-instanced.c @@ -35,20 +35,21 @@ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_width = 300; 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 #define NUM_QUADS 10 static const char *VertShaderText = "#extension GL_ARB_draw_instanced : enable\n" "attribute float yOffsetPerInstance; \n" "void main() \n" "{\n" diff --git a/tests/spec/arb_draw_elements_base_vertex/drawelements.c b/tests/spec/arb_draw_elements_base_vertex/drawelements.c index 457e92b..1fa1fe3 100644 --- a/tests/spec/arb_draw_elements_base_vertex/drawelements.c +++ b/tests/spec/arb_draw_elements_base_vertex/drawelements.c @@ -32,20 +32,21 @@ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_width = 300; 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 #define NUM_QUADS 10 static uintptr_t ib_offset; void piglit_init(int argc, char **argv) { diff --git a/tests/spec/arb_draw_elements_base_vertex/negative-index.c b/tests/spec/arb_draw_elements_base_vertex/negative-index.c index 0428e27..2f27246 100644 --- a/tests/spec/arb_draw_elements_base_vertex/negative-index.c +++ b/tests/spec/arb_draw_elements_base_vertex/negative-index.c @@ -26,20 +26,21 @@ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_width = 320; config.window_height = 80; config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE; + config.khr_no_error_support = PIGLIT_NO_ERRORS; PIGLIT_GL_TEST_CONFIG_END GLboolean user_va = GL_FALSE; void piglit_init(int argc, char **argv) { unsigned i; for (i = 1; i < argc; i++) { diff --git a/tests/spec/arb_draw_instanced/execution/drawarrays.c b/tests/spec/arb_draw_instanced/execution/drawarrays.c index fc2ee6c..a3d72bc 100644 --- a/tests/spec/arb_draw_instanced/execution/drawarrays.c +++ b/tests/spec/arb_draw_instanced/execution/drawarrays.c @@ -29,20 +29,21 @@ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_width = 500; config.window_height = 500; 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 = "draw-instanced"; static GLint PosUniform, ColorUniform; #define PRIMS 8 static const char *VertShaderText = diff --git a/tests/spec/arb_draw_instanced/execution/elements.c b/tests/spec/arb_draw_instanced/execution/elements.c index a40e2ca..6cfe775 100644 --- a/tests/spec/arb_draw_instanced/execution/elements.c +++ b/tests/spec/arb_draw_instanced/execution/elements.c @@ -30,20 +30,21 @@ * This is a derivative of instance-array-dereference.c, which uses * glDrawArraysInstancedARB(). */ #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 const char *vs_source = "#version 120\n" "#extension GL_ARB_draw_instanced: require\n" "\n" "uniform vec4 instance_colors[] = vec4[](vec4(0.0, 1.0, 0.0, 1.0),\n" " vec4(0.0, 1.0, 1.0, 1.0),\n" " vec4(0.0, 0.0, 1.0, 1.0));\n" diff --git a/tests/spec/arb_framebuffer_srgb/blit.c b/tests/spec/arb_framebuffer_srgb/blit.c index 7518d37..b5bd72b 100644 --- a/tests/spec/arb_framebuffer_srgb/blit.c +++ b/tests/spec/arb_framebuffer_srgb/blit.c @@ -176,20 +176,21 @@ #include "piglit-util-gl.h" const int PATTERN_WIDTH = 256; const int PATTERN_HEIGHT = 64; PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_visual = PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_RGBA; + config.khr_no_error_support = PIGLIT_NO_ERRORS; PIGLIT_GL_TEST_CONFIG_END /* Test parameters */ static bool use_textures; static GLenum src_format; static GLenum dst_format; static GLsizei src_samples; static GLsizei dst_samples; static bool scaled_blit; diff --git a/tests/spec/arb_instanced_arrays/drawarrays.c b/tests/spec/arb_instanced_arrays/drawarrays.c index 266b528..20548b0 100644 --- a/tests/spec/arb_instanced_arrays/drawarrays.c +++ b/tests/spec/arb_instanced_arrays/drawarrays.c @@ -29,20 +29,21 @@ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_width = 500; config.window_height = 500; 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 = "draw-instanced"; static GLint PosUniform, ColorAttrib; #define PRIMS 8 static const char *VertShaderText = diff --git a/tests/spec/arb_instanced_arrays/instanced_arrays.c b/tests/spec/arb_instanced_arrays/instanced_arrays.c index f6eb8ac..b28a589 100644 --- a/tests/spec/arb_instanced_arrays/instanced_arrays.c +++ b/tests/spec/arb_instanced_arrays/instanced_arrays.c @@ -29,20 +29,21 @@ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_width = 500; config.window_height = 500; 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 = "draw-instanced-arrays"; static GLint PosAttrib, ColorAttrib; #define PRIMS 8 static const char *VertShaderText = diff --git a/tests/spec/arb_map_buffer_alignment/map-invalidate-range.c b/tests/spec/arb_map_buffer_alignment/map-invalidate-range.c index 9781553..dfa18e4 100644 --- a/tests/spec/arb_map_buffer_alignment/map-invalidate-range.c +++ b/tests/spec/arb_map_buffer_alignment/map-invalidate-range.c @@ -43,20 +43,21 @@ * rendering that will use the entire buffer then immediately trying * to map some portion of the buffer. */ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 15; 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 do_test(uint8_t *vertex_data, unsigned num_verts, int buf_size, int map_size, int alignment, GLbitfield access) { bool pass = true; int offset; diff --git a/tests/spec/arb_map_buffer_range/invalidate.c b/tests/spec/arb_map_buffer_range/invalidate.c index a33b367..66a5540 100644 --- a/tests/spec/arb_map_buffer_range/invalidate.c +++ b/tests/spec/arb_map_buffer_range/invalidate.c @@ -35,20 +35,21 @@ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_width = 600; config.window_height = 480; 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 { TEST_MAP_INVALIDATE_RANGE_BIT, TEST_MAP_INVALIDATE_BUFFER_BIT, TEST_COPY_BUFFER_SUBDATA } test_flag; enum { diff --git a/tests/spec/arb_robustness/draw-vbo-bounds.c b/tests/spec/arb_robustness/draw-vbo-bounds.c index 8d2c839..022b23d 100644 --- a/tests/spec/arb_robustness/draw-vbo-bounds.c +++ b/tests/spec/arb_robustness/draw-vbo-bounds.c @@ -47,20 +47,21 @@ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_width = 320; config.window_height = 320; config.window_visual = PIGLIT_GL_VISUAL_RGB; + config.khr_no_error_support = PIGLIT_NO_ERRORS; PIGLIT_GL_TEST_CONFIG_END void piglit_init(int argc, char **argv) { piglit_ortho_projection(piglit_width, piglit_height, GL_FALSE); piglit_require_gl_version(15); glShadeModel(GL_FLAT); diff --git a/tests/spec/arb_transform_feedback2/draw-auto.c b/tests/spec/arb_transform_feedback2/draw-auto.c index 933d2c9..856d299 100644 --- a/tests/spec/arb_transform_feedback2/draw-auto.c +++ b/tests/spec/arb_transform_feedback2/draw-auto.c @@ -29,20 +29,21 @@ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_width = 64; config.window_height = 128; config.window_visual = PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_RGBA; + config.khr_no_error_support = PIGLIT_NO_ERRORS; PIGLIT_GL_TEST_CONFIG_END static const char *vstext = { "void main() {" " gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;" " gl_FrontColor = gl_Color;" "}" }; static const char *vstext_notransform = { diff --git a/tests/spec/arb_vertex_buffer_object/combined-vertex-index.c b/tests/spec/arb_vertex_buffer_object/combined-vertex-index.c index 9d0710a..8d3ccf7 100644 --- a/tests/spec/arb_vertex_buffer_object/combined-vertex-index.c +++ b/tests/spec/arb_vertex_buffer_object/combined-vertex-index.c @@ -26,20 +26,21 @@ * Brian Paul * Feb 6, 2017 */ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 13; config.window_visual = PIGLIT_GL_VISUAL_RGBA | PIGLIT_GL_VISUAL_DOUBLE; + config.khr_no_error_support = PIGLIT_NO_ERRORS; PIGLIT_GL_TEST_CONFIG_END // four verts of (vertex3f, color3f), all colors green static const float vertex_data[4][2][3] = { { { -1, -1, 0 }, { 0, 1, 0 } }, // v0 { { 1, 1, 0 }, { 0, 1, 0 } }, // v2 { { 1, -1, 0 }, { 0, 1, 0 } }, // v1 { { -1, 1, 0 }, { 0, 1, 0 } } // v3 }; diff --git a/tests/spec/arb_vertex_buffer_object/elements-negative-offset.c b/tests/spec/arb_vertex_buffer_object/elements-negative-offset.c index 1652b29..84b9e0e 100644 --- a/tests/spec/arb_vertex_buffer_object/elements-negative-offset.c +++ b/tests/spec/arb_vertex_buffer_object/elements-negative-offset.c @@ -28,20 +28,21 @@ * to access the new vertex data. */ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; 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 GLuint vbo; void piglit_init(int argc, char **argv) { piglit_require_extension("GL_ARB_vertex_buffer_object"); } diff --git a/tests/spec/arb_vertex_buffer_object/ib-data-sync.c b/tests/spec/arb_vertex_buffer_object/ib-data-sync.c index 7c464c2..c751810 100644 --- a/tests/spec/arb_vertex_buffer_object/ib-data-sync.c +++ b/tests/spec/arb_vertex_buffer_object/ib-data-sync.c @@ -21,20 +21,21 @@ * IN THE SOFTWARE. */ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_visual = PIGLIT_GL_VISUAL_RGBA | PIGLIT_GL_VISUAL_DOUBLE; + config.khr_no_error_support = PIGLIT_NO_ERRORS; PIGLIT_GL_TEST_CONFIG_END enum piglit_result piglit_display(void) { float verts[] = { -1, -1, 0, -1, 0, 1, diff --git a/tests/spec/arb_vertex_buffer_object/ib-subdata-sync.c b/tests/spec/arb_vertex_buffer_object/ib-subdata-sync.c index 6540df8..09079a4 100644 --- a/tests/spec/arb_vertex_buffer_object/ib-subdata-sync.c +++ b/tests/spec/arb_vertex_buffer_object/ib-subdata-sync.c @@ -21,20 +21,21 @@ * IN THE SOFTWARE. */ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_visual = PIGLIT_GL_VISUAL_RGBA | PIGLIT_GL_VISUAL_DOUBLE; + config.khr_no_error_support = PIGLIT_NO_ERRORS; PIGLIT_GL_TEST_CONFIG_END enum piglit_result piglit_display(void) { float verts[] = { -1, -1, 0, -1, 0, 1, diff --git a/tests/spec/arb_vertex_buffer_object/mixed-immediate-and-vbo.c b/tests/spec/arb_vertex_buffer_object/mixed-immediate-and-vbo.c index 95f8c11..0e65b1b 100644 --- a/tests/spec/arb_vertex_buffer_object/mixed-immediate-and-vbo.c +++ b/tests/spec/arb_vertex_buffer_object/mixed-immediate-and-vbo.c @@ -30,20 +30,21 @@ * https://bugs.freedesktop.org/show_bug.cgi?id=37934 */ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; 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 GLuint vbo; void piglit_init(int argc, char **argv) { piglit_require_extension("GL_ARB_vertex_buffer_object"); piglit_require_GLSL(); diff --git a/tests/spec/arb_vertex_buffer_object/vbo-subdata-many.c b/tests/spec/arb_vertex_buffer_object/vbo-subdata-many.c index 2ca0c5b..2246d61 100644 --- a/tests/spec/arb_vertex_buffer_object/vbo-subdata-many.c +++ b/tests/spec/arb_vertex_buffer_object/vbo-subdata-many.c @@ -24,20 +24,21 @@ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_width = 200; config.window_height = 200; 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 enum { DRAWARRAYS, DRAWELEMENTS, DRAWRANGEELEMENTS, } mode = DRAWARRAYS; enum piglit_result diff --git a/tests/spec/arb_vertex_type_2_10_10_10_rev/draw-vertices-2101010.c b/tests/spec/arb_vertex_type_2_10_10_10_rev/draw-vertices-2101010.c index b848e2b..661fa9c 100644 --- a/tests/spec/arb_vertex_type_2_10_10_10_rev/draw-vertices-2101010.c +++ b/tests/spec/arb_vertex_type_2_10_10_10_rev/draw-vertices-2101010.c @@ -30,20 +30,21 @@ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_width = 320; config.window_height = 60; config.window_visual = PIGLIT_GL_VISUAL_RGBA | PIGLIT_GL_VISUAL_DOUBLE; + config.khr_no_error_support = PIGLIT_NO_ERRORS; PIGLIT_GL_TEST_CONFIG_END #define i32to10(x) ((x) >= 0 ? (x & 0x1ff) : 1024-(abs((x))& 0x1ff)) #define i32to2(x) ((x) >= 0 ? (x & 0x1) : 1-abs((x))) static unsigned iconv(int x, int y, int z, int w) { unsigned val; diff --git a/tests/spec/ati_envmap_bumpmap/bump.c b/tests/spec/ati_envmap_bumpmap/bump.c index aa64b9d..6246d83 100644 --- a/tests/spec/ati_envmap_bumpmap/bump.c +++ b/tests/spec/ati_envmap_bumpmap/bump.c @@ -30,20 +30,21 @@ #define TEXSIZE 32 PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_width = TEXSIZE*2; config.window_height = TEXSIZE*2; 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 GLenum tex_unit, bump_unit; GLvoid draw_rect_multitex(float x, float y, float w, float h, float tx, float ty, float tw, float th) { diff --git a/tests/spec/ext_framebuffer_multisample/accuracy.cpp b/tests/spec/ext_framebuffer_multisample/accuracy.cpp index 316eeca..c571771 100644 --- a/tests/spec/ext_framebuffer_multisample/accuracy.cpp +++ b/tests/spec/ext_framebuffer_multisample/accuracy.cpp @@ -44,20 +44,21 @@ * On others (e.g. i965), this is an important corner case to test. */ PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_width = 512; config.window_height = 256; config.window_visual = PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_RGBA; + config.khr_no_error_support = PIGLIT_NO_ERRORS; PIGLIT_GL_TEST_CONFIG_END const int pattern_width = 256; const int pattern_height = 256; const int supersample_factor = 16; int num_samples, max_samples; bool small = false, combine_depth_stencil = false; bool all_samples = false; GLenum filter_mode = GL_NEAREST; test_type_enum test_type; diff --git a/tests/spec/ext_framebuffer_multisample/alpha-blending.c b/tests/spec/ext_framebuffer_multisample/alpha-blending.c index cf8d572..4d5ed27 100644 --- a/tests/spec/ext_framebuffer_multisample/alpha-blending.c +++ b/tests/spec/ext_framebuffer_multisample/alpha-blending.c @@ -47,20 +47,21 @@ GLuint framebuffer, renderbuffer; int numSamples; static bool slow_color_clear = false; PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_width = WIDTH; config.window_height = HEIGHT; config.window_visual = PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_RGBA; + config.khr_no_error_support = PIGLIT_NO_ERRORS; slow_color_clear = PIGLIT_STRIP_ARG("slow_cc"); PIGLIT_GL_TEST_CONFIG_END void piglit_init(int argc, char **argv) { glGetIntegerv(GL_MAX_SAMPLES_EXT, &numSamples); glGenFramebuffersEXT(1, &framebuffer); diff --git a/tests/spec/ext_transform_feedback/discard-drawarrays.c b/tests/spec/ext_transform_feedback/discard-drawarrays.c index 8576b32..ec47dd0 100644 --- a/tests/spec/ext_transform_feedback/discard-drawarrays.c +++ b/tests/spec/ext_transform_feedback/discard-drawarrays.c @@ -39,20 +39,21 @@ * rasterization stage to be processed * normally. RASTERIZER_DISCARD_EXT applies to the DrawPixels, * CopyPixels, Bitmap, Clear and Accum commands as well." */ PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_visual = PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_RGBA; + config.khr_no_error_support = PIGLIT_NO_ERRORS; PIGLIT_GL_TEST_CONFIG_END enum piglit_result piglit_display(void) { bool pass = true; float green[4] = {0.0, 1.0, 0.0, 0.0}; float vertex_data[] = { -0.5, -0.5, diff --git a/tests/spec/ext_transform_feedback/interleaved.c b/tests/spec/ext_transform_feedback/interleaved.c index 53ed50f..a52474c 100644 --- a/tests/spec/ext_transform_feedback/interleaved.c +++ b/tests/spec/ext_transform_feedback/interleaved.c @@ -26,20 +26,21 @@ * * Test writing interleaved vertex attribs into a buffer object. */ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_visual = PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_RGBA; + config.khr_no_error_support = PIGLIT_NO_ERRORS; PIGLIT_GL_TEST_CONFIG_END static const char *vstext = { "varying vec3 v3;" "varying vec2 v2;" "void main() {" " gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;" " gl_FrontColor = vec4(1.0, 0.9, 0.8, 0.7);" " gl_TexCoord[0] = vec4(0.5);" diff --git a/tests/spec/ext_transform_feedback/output-type.c b/tests/spec/ext_transform_feedback/output-type.c index 5b6c625..0dba711 100644 --- a/tests/spec/ext_transform_feedback/output-type.c +++ b/tests/spec/ext_transform_feedback/output-type.c @@ -27,20 +27,21 @@ * Test that writing a variable with a specific GLSL type into a TFB buffer * works as expected. */ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_visual = PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_RGBA; + config.khr_no_error_support = PIGLIT_NO_ERRORS; PIGLIT_GL_TEST_CONFIG_END #define DEFAULT_VALUE 0.123456 #define MAX_VARYINGS 16 #define MAX_BUFFERS 4 #define MAX_ELEMENTS 256 struct test_desc { diff --git a/tests/spec/ext_transform_feedback/points.c b/tests/spec/ext_transform_feedback/points.c index bd8f115..7c7ce6c 100644 --- a/tests/spec/ext_transform_feedback/points.c +++ b/tests/spec/ext_transform_feedback/points.c @@ -25,20 +25,21 @@ * Simple transform feedback test drawing GL_POINTS. * If argv[1] == "large" draw large points (which may hit a point->quad * conversion path.) */ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_visual = PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_RGBA; + config.khr_no_error_support = PIGLIT_NO_ERRORS; PIGLIT_GL_TEST_CONFIG_END static GLuint prog; static GLuint xfb_buf, vert_buf; static const int xfb_buf_size = 500; static const char *vstext = { "void main() {" " gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;" diff --git a/tests/spec/ext_transform_feedback/position.c b/tests/spec/ext_transform_feedback/position.c index 091b44c..ff4470b 100644 --- a/tests/spec/ext_transform_feedback/position.c +++ b/tests/spec/ext_transform_feedback/position.c @@ -27,20 +27,21 @@ * Test writing vertex positions into a buffer object, with BindBufferBase, * BindBufferOffset, BindBufferRange, GL_RASTERIZER_DISCARD, and related queries. */ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_visual = PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_RGBA; + config.khr_no_error_support = PIGLIT_NO_ERRORS; PIGLIT_GL_TEST_CONFIG_END static const char *vstext = { "void main() {" " gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;" " gl_FrontColor = vec4(1.0);" "}" }; static const char *vspassthrough = { diff --git a/tests/spec/ext_transform_feedback/separate.c b/tests/spec/ext_transform_feedback/separate.c index 3297d14..d4865cd 100644 --- a/tests/spec/ext_transform_feedback/separate.c +++ b/tests/spec/ext_transform_feedback/separate.c @@ -26,20 +26,21 @@ * * Test writing separate vertex attribs into a buffer object. */ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_visual = PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_RGBA; + config.khr_no_error_support = PIGLIT_NO_ERRORS; PIGLIT_GL_TEST_CONFIG_END static const char *vstext = { "varying vec3 v3;" "varying vec2 v2;" "void main() {" " gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;" " gl_FrontColor = vec4(1.0, 0.9, 0.8, 0.7);" " gl_TexCoord[0] = vec4(0.5);" diff --git a/tests/spec/gl-1.0/rendermode-feedback.c b/tests/spec/gl-1.0/rendermode-feedback.c index 04522cf..884ab3d 100644 --- a/tests/spec/gl-1.0/rendermode-feedback.c +++ b/tests/spec/gl-1.0/rendermode-feedback.c @@ -26,20 +26,21 @@ * @file rendermode-feedback.c * * Tests that glRenderMode(GL_FEEDBACK) rendering trivially works. */ PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_visual = PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_RGBA; + config.khr_no_error_support = PIGLIT_NO_ERRORS; PIGLIT_GL_TEST_CONFIG_END static float vertex_array[] = { 1.0, 2.0, 0.4, 1.0, 3.0, 4.0, 0.6, 1.0, 5.0, 6.0, 0.8, 1.0, }; static float color_array[] = { diff --git a/tests/spec/gl-1.4/dlist-multidrawarrays.c b/tests/spec/gl-1.4/dlist-multidrawarrays.c index 7ddeb60..bd1aac4 100644 --- a/tests/spec/gl-1.4/dlist-multidrawarrays.c +++ b/tests/spec/gl-1.4/dlist-multidrawarrays.c @@ -25,20 +25,21 @@ * Test glMultiDrawArrays and similar functions in a display list. * glMultiDrawArrays is part of GL 1.4 and later. */ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 14; config.window_visual = PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_RGBA; + config.khr_no_error_support = PIGLIT_NO_ERRORS; PIGLIT_GL_TEST_CONFIG_END static const float verts[][2] = { { -1.0f, -1.0f }, { 1.0f, -1.0f }, { 1.0f, 1.0f }, { -1.0f, 1.0f } }; diff --git a/tests/spec/gl-1.5/normal3b3s-invariance.c b/tests/spec/gl-1.5/normal3b3s-invariance.c index 1e1fd0a..d80ba97 100644 --- a/tests/spec/gl-1.5/normal3b3s-invariance.c +++ b/tests/spec/gl-1.5/normal3b3s-invariance.c @@ -42,20 +42,21 @@ * Brian Paul * 11 April 2014 */ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 15; config.window_visual = PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_RGBA | PIGLIT_GL_VISUAL_DEPTH; + config.khr_no_error_support = PIGLIT_NO_ERRORS; PIGLIT_GL_TEST_CONFIG_END struct vertex { GLfloat pos[3]; /* position */ GLfloat nf[3]; /* float normal */ GLshort ns[3]; /* short normal */ GLbyte nb[3]; /* byte normal */ }; diff --git a/tests/spec/gl-1.5/vertex-buffer-offsets.c b/tests/spec/gl-1.5/vertex-buffer-offsets.c index 429a3d2..5166268 100644 --- a/tests/spec/gl-1.5/vertex-buffer-offsets.c +++ b/tests/spec/gl-1.5/vertex-buffer-offsets.c @@ -49,20 +49,21 @@ * decide if conformance or app support is more important. * * Brian Paul */ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 15; config.window_visual = PIGLIT_GL_VISUAL_RGBA | PIGLIT_GL_VISUAL_DOUBLE; + config.khr_no_error_support = PIGLIT_NO_ERRORS; PIGLIT_GL_TEST_CONFIG_END void piglit_init(int argc, char **argv) { /* nothing */ } diff --git a/tests/spec/gl-2.0/edgeflag.c b/tests/spec/gl-2.0/edgeflag.c index 08be6aa..0b3b9b8 100644 --- a/tests/spec/gl-2.0/edgeflag.c +++ b/tests/spec/gl-2.0/edgeflag.c @@ -31,20 +31,21 @@ */ #include "piglit-util-gl.h" #include "minmax-test.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_visual = PIGLIT_GL_VISUAL_DOUBLE | PIGLIT_GL_VISUAL_RGBA; + config.khr_no_error_support = PIGLIT_NO_ERRORS; PIGLIT_GL_TEST_CONFIG_END static GLuint color_index; enum piglit_result piglit_display(void) { bool pass = true; float green[] = {0, 1, 0, 0}; diff --git a/tests/spec/gl-2.0/vertex-program-two-side.c b/tests/spec/gl-2.0/vertex-program-two-side.c index de9a2a3..81cf11d 100644 --- a/tests/spec/gl-2.0/vertex-program-two-side.c +++ b/tests/spec/gl-2.0/vertex-program-two-side.c @@ -41,20 +41,21 @@ * This appears to override the text in the GLSL 1.10 spec which * implies that two-sided behavior always occurs. */ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; 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 GLint prog; static bool enabled = false; static bool front = false; static bool back = false; static bool front2 = false; static bool back2 = false; diff --git a/tests/spec/glsl-1.10/execution/varying-packing/simple.c b/tests/spec/glsl-1.10/execution/varying-packing/simple.c index 8290735..b197acd 100644 --- a/tests/spec/glsl-1.10/execution/varying-packing/simple.c +++ b/tests/spec/glsl-1.10/execution/varying-packing/simple.c @@ -98,20 +98,21 @@ #include "piglit-util-gl.h" static void parse_args(int argc, char *argv[], struct piglit_gl_test_config *config); static const int outer_dim_size = 2; PIGLIT_GL_TEST_CONFIG_BEGIN config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE; + config.khr_no_error_support = PIGLIT_NO_ERRORS; parse_args(argc, argv, &config); PIGLIT_GL_TEST_CONFIG_END static GLuint prog; static GLint i_location; enum base_type { BASE_TYPE_FLOAT, diff --git a/tests/spec/glsl-1.30/execution/vertexid-drawarrays.c b/tests/spec/glsl-1.30/execution/vertexid-drawarrays.c index 9842c7a..de74ea3 100644 --- a/tests/spec/glsl-1.30/execution/vertexid-drawarrays.c +++ b/tests/spec/glsl-1.30/execution/vertexid-drawarrays.c @@ -26,20 +26,21 @@ * * Test that gl_VertexID has the correct values. */ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; 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 vs_text[] = "#version 130\n" "\n" "/* This is floating point so we can use immediate mode */\n" "out vec4 color;\n" "\n" "void main()\n" diff --git a/tests/spec/glsl-1.30/execution/vertexid-drawelements.c b/tests/spec/glsl-1.30/execution/vertexid-drawelements.c index 3d254dd..acbd1cf 100644 --- a/tests/spec/glsl-1.30/execution/vertexid-drawelements.c +++ b/tests/spec/glsl-1.30/execution/vertexid-drawelements.c @@ -26,20 +26,21 @@ * * Test that gl_VertexID has the correct values. */ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; 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 vs_text[] = "#version 130\n" "\n" "/* This is floating point so we can use immediate mode */\n" "out vec4 color;\n" "\n" "void main()\n" diff --git a/tests/spec/oes_fixed_point/oes_fixed_point-attribute-arrays.c b/tests/spec/oes_fixed_point/oes_fixed_point-attribute-arrays.c index 298b428..cd88d95 100644 --- a/tests/spec/oes_fixed_point/oes_fixed_point-attribute-arrays.c +++ b/tests/spec/oes_fixed_point/oes_fixed_point-attribute-arrays.c @@ -31,20 +31,21 @@ * * This tests Mesa commit 7a9f4d3e for Intel gen4+. */ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_es_version = 11; config.window_visual = PIGLIT_GL_VISUAL_RGBA | PIGLIT_GL_VISUAL_DOUBLE; + config.khr_no_error_support = PIGLIT_NO_ERRORS; PIGLIT_GL_TEST_CONFIG_END /* From the GL_OES_fixed_point spec, GL_FIXED represents a * "signed 2's complement S15.16 scaled integer". */ #define ONE 0x00010000 #define HALF 0x00008000 /* Vertices for the window's left half. */ diff --git a/tests/texturing/depth-cube-map.c b/tests/texturing/depth-cube-map.c index 17a76ba..a9f0a2d 100644 --- a/tests/texturing/depth-cube-map.c +++ b/tests/texturing/depth-cube-map.c @@ -30,20 +30,21 @@ #include "piglit-util-gl.h" 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 static GLuint tex; static GLint prog; static GLint fs; static GLint vs; static GLfloat vertices[12] = {150.0, 125.0, 0.0, 150.0, 175.0, 0.0, diff --git a/tests/texturing/depthstencil-render-miplevels.cpp b/tests/texturing/depthstencil-render-miplevels.cpp index 3f182f8..87af92f 100644 --- a/tests/texturing/depthstencil-render-miplevels.cpp +++ b/tests/texturing/depthstencil-render-miplevels.cpp @@ -86,20 +86,21 @@ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_width = 512; config.window_height = 512; config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE; + config.khr_no_error_support = PIGLIT_NO_ERRORS; PIGLIT_GL_TEST_CONFIG_END namespace { GLuint color_tex; GLuint depth_tex; GLuint stencil_tex; bool attach_depth = false; bool attach_stencil = false; diff --git a/tests/texturing/shaders/textureGather.c b/tests/texturing/shaders/textureGather.c index 81c6a97..f8dbe0f 100644 --- a/tests/texturing/shaders/textureGather.c +++ b/tests/texturing/shaders/textureGather.c @@ -1,18 +1,19 @@ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 11; config.supports_gl_core_version = 31; config.window_visual = PIGLIT_GL_VISUAL_RGBA | PIGLIT_GL_VISUAL_DOUBLE; + config.khr_no_error_support = PIGLIT_NO_ERRORS; PIGLIT_GL_TEST_CONFIG_END enum { NOSTAGE, VS, FS } stage = NOSTAGE; enum { NONE = -1, RED, GREEN, BLUE, ALPHA, ZERO, ONE } swizzle = NONE; enum { UNORM_T, FLOAT_T, INT_T, UINT_T, SHADOW_T, NUM_COMPTYPES } comptype = UNORM_T; enum { SAMPLER_2D, SAMPLER_2DARRAY, SAMPLER_CUBE, SAMPLER_CUBEARRAY, SAMPLER_2DRECT } sampler = SAMPLER_2D; bool use_offset = false; bool use_nonconst = false; bool use_offsets = false; diff --git a/tests/texturing/shaders/textureSamples.c b/tests/texturing/shaders/textureSamples.c index 497eabd..7bf8ef1 100644 --- a/tests/texturing/shaders/textureSamples.c +++ b/tests/texturing/shaders/textureSamples.c @@ -44,20 +44,21 @@ */ #include "common.h" void parse_args(int argc, char **argv); static enum shader_target test_stage = UNKNOWN; PIGLIT_GL_TEST_CONFIG_BEGIN config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE; + config.khr_no_error_support = PIGLIT_NO_ERRORS; piglit_gl_process_args(&argc, argv, &config); parse_args(argc, argv); if (test_stage == GS) { config.supports_gl_compat_version = 32; config.supports_gl_core_version = 32; } else { config.supports_gl_compat_version = 30; config.supports_gl_core_version = 31; diff --git a/tests/texturing/shaders/textureSize.c b/tests/texturing/shaders/textureSize.c index ac3df04..2693633 100644 --- a/tests/texturing/shaders/textureSize.c +++ b/tests/texturing/shaders/textureSize.c @@ -48,20 +48,21 @@ void parse_args(int argc, char **argv); static enum shader_target test_stage = UNKNOWN; PIGLIT_GL_TEST_CONFIG_BEGIN config.window_width = 150; config.window_height = 30; config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE; + config.khr_no_error_support = PIGLIT_NO_ERRORS; piglit_gl_process_args(&argc, argv, &config); parse_args(argc, argv); if (test_stage == GS) { config.supports_gl_compat_version = 32; config.supports_gl_core_version = 32; } else { config.supports_gl_compat_version = 10; config.supports_gl_core_version = 31; diff --git a/tests/texturing/tex-skipped-unit.c b/tests/texturing/tex-skipped-unit.c index c5913f7..0f2002f 100644 --- a/tests/texturing/tex-skipped-unit.c +++ b/tests/texturing/tex-skipped-unit.c @@ -27,20 +27,21 @@ */ #include "piglit-util-gl.h" #define TEXSIZE 32 PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_visual = PIGLIT_GL_VISUAL_RGBA | PIGLIT_GL_VISUAL_DOUBLE; + config.khr_no_error_support = PIGLIT_NO_ERRORS; PIGLIT_GL_TEST_CONFIG_END GLvoid draw_rect_tex(float x, float y, float w, float h, float tx, float ty, float tw, float th) { float verts[4][4]; float tex[4][2]; diff --git a/tests/texturing/tex3d-depth1.c b/tests/texturing/tex3d-depth1.c index 55633c8..dfc0945 100644 --- a/tests/texturing/tex3d-depth1.c +++ b/tests/texturing/tex3d-depth1.c @@ -30,20 +30,21 @@ * 28 Aug 2012 */ #include "piglit-util-gl.h" PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_visual = PIGLIT_GL_VISUAL_RGBA; + config.khr_no_error_support = PIGLIT_NO_ERRORS; PIGLIT_GL_TEST_CONFIG_END #define TEX_SIZE 8 static const float green[4] = {0.0, 1.0, 0.0, 1.0}; enum piglit_result diff --git a/tests/texturing/teximage-colors.c b/tests/texturing/teximage-colors.c index 953ef3a..afc8cfd 100644 --- a/tests/texturing/teximage-colors.c +++ b/tests/texturing/teximage-colors.c @@ -23,20 +23,21 @@ #include "piglit-util-gl.h" #define BENCHMARK_ITERATIONS 1000 PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 13; config.window_visual = PIGLIT_GL_VISUAL_RGBA | PIGLIT_GL_VISUAL_DOUBLE; + config.khr_no_error_support = PIGLIT_NO_ERRORS; PIGLIT_GL_TEST_CONFIG_END struct texture_format { GLenum internal_format; const char *name; GLenum format; GLenum data_type; }; diff --git a/tests/texturing/texsubimage.c b/tests/texturing/texsubimage.c index 0d4bcab..7078d5a 100644 --- a/tests/texturing/texsubimage.c +++ b/tests/texturing/texsubimage.c @@ -36,20 +36,21 @@ #include "../fbo/fbo-formats.h" #define STR(x) #x #define STRINGIFY(x) STR(x) PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_compat_version = 10; config.window_visual = PIGLIT_GL_VISUAL_RGBA | PIGLIT_GL_VISUAL_DOUBLE; + config.khr_no_error_support = PIGLIT_NO_ERRORS; config.window_width = 512; config.window_height = 512; PIGLIT_GL_TEST_CONFIG_END /** * This is a subset of the formats in fbo-formats.h * We don't test non-color, float, or int/uint textures at this time. */ -- 2.9.3 _______________________________________________ Piglit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/piglit
