[Piglit] [PATCH] GL3.3: Test invalid parameters for GL_ARB_texture_rectangle.

2013-12-02 Thread Nicholas Mack
v2: Move test into arb_texture_rectangle folder and change context v3: Add tests for other invalid params --- tests/all.tests| 1 + tests/spec/arb_texture_rectangle/CMakeLists.gl.txt | 1 + .../texture-base-level-error.c | 103

[Piglit] [PATCH 1/2 v2] Test that VertexAttribP*() must use one of the appropriate types.

2013-11-25 Thread Nicholas Mack
v2: change context --- .../CMakeLists.gl.txt | 1 + .../vertex-attrib-p-types.c| 84 ++ 2 files changed, 85 insertions(+) create mode 100644 tests/spec/arb_vertex_type_2_10_10_10_rev/vertex-attrib-p-types.c diff --git

[Piglit] [PATCH 2/2 v2] Test that if VertexAttribPointer uses a packed type, size must be 4 or BGRA.

2013-11-25 Thread Nicholas Mack
v2: change context --- .../CMakeLists.gl.txt | 1 + .../vertex-attrib-pointer-type-size-match.c| 92 ++ 2 files changed, 93 insertions(+) create mode 100644

[Piglit] [PATCH] GL3.3: Test invalid parameters for GL_ARB_texture_rectangle.

2013-11-25 Thread Nicholas Mack
v2: Move test into arb_texture_rectangle folder and change context --- tests/all.tests| 1 + tests/spec/arb_texture_rectangle/CMakeLists.gl.txt | 1 + .../texture-base-level-error.c | 67 ++ 3 files changed, 69

[Piglit] [PATCH] Test that arb_explicit_attrib_location content can be used without enabling the extension.

2013-11-25 Thread Nicholas Mack
--- .../arb_explicit_attrib_location/3.30/not-enabled.frag | 16 1 file changed, 16 insertions(+) create mode 100644 tests/spec/arb_explicit_attrib_location/3.30/not-enabled.frag diff --git a/tests/spec/arb_explicit_attrib_location/3.30/not-enabled.frag

[Piglit] [PATCH] GL3.3: Test that with target of TEXTURE_RECTANGLE, TEXTURE_BASE_LEVEL of non-zero results in INVALID_VALUE.

2013-11-18 Thread Nicholas Mack
--- tests/all.tests | 1 + tests/spec/gl-3.3/CMakeLists.gl.txt | 1 + tests/spec/gl-3.3/texture-base-level-error.c | 64 3 files changed, 66 insertions(+) create mode 100644 tests/spec/gl-3.3/texture-base-level-error.c diff

[Piglit] [PATCH 1/2] Test that VertexAttribP*() must use one of the appropriate types.

2013-11-18 Thread Nicholas Mack
--- .../CMakeLists.gl.txt | 1 + .../vertex-attrib-p-types.c| 81 ++ 2 files changed, 82 insertions(+) create mode 100644 tests/spec/arb_vertex_type_2_10_10_10_rev/vertex-attrib-p-types.c diff --git

[Piglit] [PATCH 2/2] Test that if VertexAttribPointer uses a packed type, size must be 4 or BGRA.

2013-11-18 Thread Nicholas Mack
--- .../CMakeLists.gl.txt | 1 + .../vertex-attrib-pointer-type-size-match.c| 89 ++ 2 files changed, 90 insertions(+) create mode 100644 tests/spec/arb_vertex_type_2_10_10_10_rev/vertex-attrib-pointer-type-size-match.c diff --git

[Piglit] [PATCH 2/2] Test that VERTEX_ATTRIB_ARRAY_DIVISOR may be passed to GetVertexAttrib* functions.

2013-11-18 Thread Nicholas Mack
--- tests/all.tests| 1 + tests/spec/arb_instanced_arrays/CMakeLists.gl.txt | 1 + .../vertex-attrib-divisor-query.c | 86 ++ 3 files changed, 88 insertions(+) create mode 100644

[Piglit] [PATCH 1/2] Test that VertexAttribDivisor() generates INVALID_VALUE if index is greater than or equal to MAX_VERTEX_ATTRIBS.

2013-11-18 Thread Nicholas Mack
--- tests/all.tests| 1 + tests/spec/arb_instanced_arrays/CMakeLists.gl.txt | 1 + .../vertex-attrib-divisor-index-error.c| 59 ++ 3 files changed, 61 insertions(+) create mode 100644

[Piglit] [PATCH] GL: Verify that when GL_COORD_REPLACE is set, fragment shader texture coordinates do not get eliminated.

2013-11-11 Thread Nicholas Mack
--- tests/all.tests| 2 +- tests/spec/gl-3.2/CMakeLists.gl.txt| 3 +- ...oord-replace-doesnt-eliminate-frag-tex-coords.c | 135 + 3 files changed, 138 insertions(+), 2 deletions(-) create mode 100644

[Piglit] [PATCH] GL_ARB_base_instance: Verify that the baseinstance setting does not affect the value of gl_InstanceID.

2013-11-04 Thread Nicholas Mack
--- tests/all.tests| 4 + tests/spec/CMakeLists.txt | 1 + tests/spec/arb_base_instance/CMakeLists.gl.txt | 9 ++ tests/spec/arb_base_instance/CMakeLists.txt| 1 + .../baseinstance-doesnt-affect-gl-instance-id.c|

[Piglit] [PATCH 1/4 v3] GS: Test that geometry shader input/output layout qualifiers only compile if valid

2013-10-21 Thread Nicholas Mack
v2: Tests check against list of valid layouts instead of invalid layouts v3: Remove vertex shader info, remove linking, check compile status, rewrite error messages --- tests/all.tests| 12 ++ .../glsl-1.50/execution/geometry/CMakeLists.gl.txt | 2 +

[Piglit] [PATCH v4] GL3.2 GL_ARB_sync: Test for valid return values from ClientWaitSync

2013-10-21 Thread Nicholas Mack
v2: Fix comments, initialize variables. Still need to figure out if GPU commands needed before testing these. v3: Rewrite test cases, fix comment and config block and add to all.tests v4: Make test work with POSIX_CLOCKS and some other minor changes --- tests/all.tests

[Piglit] [PATCH 1/8] GL3.2 GL_ARB_sync: Test to check the correct error messages are returned for invalid inputs for ClientWaitSync

2013-10-07 Thread Nicholas Mack
v2: Fix comments, initialize variables, rewrite loop through all bit masks v3: Remove redundant code, minor fixes, and add to all.tests --- tests/all.tests | 1 + tests/spec/arb_sync/CMakeLists.gl.txt | 1 + tests/spec/arb_sync/ClientWaitSync-errors.c | 96

[Piglit] [PATCH 2/8] GL3.2 GL_ARB_sync: Test for valid return values from ClientWaitSync

2013-10-07 Thread Nicholas Mack
v2: Fix comments, initialize variables. Still need to figure out if GPU commands needed before testing these. v3: Rewrite test cases, fix comment and config block and add to all.tests --- tests/all.tests | 1 + tests/spec/arb_sync/CMakeLists.gl.txt|

[Piglit] [PATCH 6/8] GL3.2 GL_ARB_sync: Test that IsSync returns true/false if it is given a valid/invalid sync object name

2013-10-07 Thread Nicholas Mack
v2: Fix comments, initialize variables v3: Minor fixes and added to all.tests --- tests/all.tests | 1 + tests/spec/arb_sync/CMakeLists.gl.txt | 1 + tests/spec/arb_sync/IsSync.c | 83 +++ 3 files changed, 85 insertions(+) create

[Piglit] [PATCH 4/8] GL3.2 GL_ARB_sync: Test for the correct error messages caused by invalid input to FenceSync

2013-10-07 Thread Nicholas Mack
v2: Fix comments, remove unnecessary tests. v3: Added to all.tests Reviewed-by: Chad Versace chad.vers...@linux.intel.com --- tests/all.tests| 1 + tests/spec/arb_sync/CMakeLists.gl.txt | 1 + tests/spec/arb_sync/FenceSync-errors.c | 72

[Piglit] [PATCH 5/8] GL3.2 GL_ARB_sync: Test that GetSynciv sets correct error codes.

2013-10-07 Thread Nicholas Mack
v2: Fix comments, initialize variables v3: Minor fixes and add to all.tests --- tests/all.tests| 1 + tests/spec/arb_sync/CMakeLists.gl.txt | 1 + tests/spec/arb_sync/GetSynciv-errors.c | 91 ++ 3 files changed, 93 insertions(+) create

[Piglit] [PATCH 3/8] GL3.2 GL_ARB_sync: Basic test for DeleteSync

2013-10-07 Thread Nicholas Mack
v2: Fix comments, add test for passing invalid sync to IsSync(), change variable types. v3: Minor fixes and add to all.tests --- tests/all.tests | 1 + tests/spec/arb_sync/CMakeLists.gl.txt | 1 + tests/spec/arb_sync/DeleteSync.c | 78

[Piglit] [PATCH 7/8] GL3.2 GL_ARB_sync: Test that a sync object is initialized with the correct properties

2013-10-07 Thread Nicholas Mack
v2: Fix comments, add extra checks for length variable being modified v3: Start some rendering to insure initialized values and add to all.tests --- tests/all.tests | 1 + tests/spec/arb_sync/CMakeLists.gl.txt | 1 + tests/spec/arb_sync/sync-initialize.c | 134

[Piglit] [PATCH 8/8] GL3.2 GL_ARB_sync: Test that the correct error messages are returned from invalid input for WaitSync

2013-10-07 Thread Nicholas Mack
v2: Fix comments, remove redundant code v3: Add to all.tests --- tests/all.tests | 1 + tests/spec/arb_sync/CMakeLists.gl.txt | 1 + tests/spec/arb_sync/WaitSync-errors.c | 82 +++ 3 files changed, 84 insertions(+) create mode 100644

[Piglit] [PATCH v2] GL 3.2: Test that GetTexLevelParameterfv() generates an error when passed TEXTURE_BORDER

2013-10-01 Thread Nicholas Mack
v2: Multiple fixes and added to all.tests --- tests/all.tests | 1 + tests/spec/gl-3.2/CMakeLists.gl.txt | 1 + tests/spec/gl-3.2/texture-border-deprecated.c | 66 +++ 3 files changed, 68 insertions(+) create mode 100644

[Piglit] [PATCH] Fix for bug #70015

2013-10-01 Thread Nicholas Mack
Cc: Vinson Lee v...@freedesktop.org Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=70015 --- tests/spec/gl-3.2/get-active-attrib-returns-all-inputs.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/spec/gl-3.2/get-active-attrib-returns-all-inputs.c

[Piglit] [PATCH v2] Test that all vertex shader inputs are enumerated by GetActiveAttrib(). This includes built-ins such as gl_InstanceID and gl_VertexID.

2013-09-30 Thread Nicholas Mack
v2: Restructure test to check attrib names on an individual basis --- tests/all.tests| 2 + tests/spec/gl-3.2/CMakeLists.gl.txt| 1 + .../gl-3.2/get-active-attrib-returns-all-inputs.c | 127 + 3 files changed, 130

[Piglit] [PATCH 1/4] GS: Test that geometry shader input/output layout qualifiers only compile if valid

2013-09-30 Thread Nicholas Mack
v2: Tests check against list of valid layouts instead of invalid layouts --- tests/all.tests| 12 ++ .../glsl-1.50/execution/geometry/CMakeLists.gl.txt | 2 + .../geometry/gs-input-layout-qualifiers.c | 128 +

[Piglit] [PATCH 2/4] GS: Test geometry input layout qualifier rules

2013-09-30 Thread Nicholas Mack
v2: Remove unnecessary test --- .../compiler/layout-in-only-one-qualifier-id.geom | 25 ++ 1 file changed, 25 insertions(+) create mode 100644 tests/spec/glsl-1.50/compiler/layout-in-only-one-qualifier-id.geom diff --git

[Piglit] [PATCH] Test that GS has access to noise functions

2013-09-27 Thread Nicholas Mack
--- .../glsl-1.50/compiler/gs-noise-functions.geom | 24 ++ 1 file changed, 24 insertions(+) create mode 100644 tests/spec/glsl-1.50/compiler/gs-noise-functions.geom diff --git a/tests/spec/glsl-1.50/compiler/gs-noise-functions.geom

[Piglit] [PATCH 1/4] GLSL 1.50 Interface blocks: Test that block array sizes must match between shaders

2013-09-27 Thread Nicholas Mack
--- ...ce-blocks-vs-fs-array-size-mismatch.shader_test | 37 +++ ...ce-blocks-vs-gs-array-size-mismatch.shader_test | 41 ++ 2 files changed, 78 insertions(+) create mode 100644

[Piglit] [PATCH 3/4] GLSL 1.50 Interface blocks: Test that interface blocks cannot have initializers or sampler types within the block.

2013-09-27 Thread Nicholas Mack
--- ...terface-blocks-no-initializer-within-block.vert | 25 ++ ...erface-blocks-no-sampler-type-within-block.vert | 24 + 2 files changed, 49 insertions(+) create mode 100644 tests/spec/glsl-1.50/compiler/interface-blocks-no-initializer-within-block.vert

[Piglit] [PATCH 1/2] GLSL 1.50: Test that version 140 and version 150 shaders can be linked together

2013-09-27 Thread Nicholas Mack
--- .../glsl-1.50/linker/versions-mingled.shader_test | 29 ++ 1 file changed, 29 insertions(+) create mode 100644 tests/spec/glsl-1.50/linker/versions-mingled.shader_test diff --git a/tests/spec/glsl-1.50/linker/versions-mingled.shader_test

[Piglit] [PATCH 2/2] GLSL 1.50: Test that multiple shaders of version 140 and 150 can be linked together

2013-09-27 Thread Nicholas Mack
--- ...ons-mingled-multiple-shader-objects.shader_test | 52 ++ 1 file changed, 52 insertions(+) create mode 100644 tests/spec/glsl-1.50/linker/versions-mingled-multiple-shader-objects.shader_test diff --git

[Piglit] [PATCH] Test that all vertex shader inputs are enumerated by GetActiveAttrib(). This includes built-ins such as gl_InstanceID and gl_VertexID.

2013-09-27 Thread Nicholas Mack
--- tests/all.tests| 2 + tests/spec/gl-3.2/CMakeLists.gl.txt| 1 + .../gl-3.2/get-active-attrib-returns-all-inputs.c | 117 + 3 files changed, 120 insertions(+) create mode 100644

[Piglit] [PATCH] GL 3.2: Test that GetTexLevelParameterfv() generates an error when passed TEXTURE_BORDER

2013-09-27 Thread Nicholas Mack
--- tests/spec/gl-3.2/CMakeLists.gl.txt | 1 + tests/spec/gl-3.2/texture-border-deprecated.c | 63 +++ 2 files changed, 64 insertions(+) create mode 100644 tests/spec/gl-3.2/texture-border-deprecated.c diff --git a/tests/spec/gl-3.2/CMakeLists.gl.txt

[Piglit] [PATCH] GLSL: Test that input layout qualifiers cannot be used on variable declarations

2013-09-20 Thread Nicholas Mack
--- ...-layout-qualifiers-with-variable-declarations.geom | 19 +++ ...-layout-qualifiers-with-variable-declarations.geom | 19 +++ 2 files changed, 38 insertions(+) create mode 100644

[Piglit] [PATCH 1/3 v2] GS: Test that geometry ins/outs can have flat/smooth/noperspective qualifiers

2013-09-17 Thread Nicholas Mack
v2: Modify test to also test for correct interpolation of data being passed --- .../gs-also-uses-smooth-flat-noperspective.geom| 25 ++ ...also-uses-smooth-flat-noperspective.shader_test | 95 ++ 2 files changed, 120 insertions(+) create mode 100644

[Piglit] [PATCH] GS: Test that EndPrimitive() is optional for geometry output layout of points

2013-09-17 Thread Nicholas Mack
--- tests/all.tests| 1 + .../glsl-1.50/execution/geometry/CMakeLists.gl.txt | 1 + ...ometry-end-primitive-optional-with-points-out.c | 161 + 3 files changed, 163 insertions(+) create mode 100644

[Piglit] [PATCH 2/4] GS: Test geometry input layout qualifier rules

2013-09-16 Thread Nicholas Mack
--- .../compiler/layout-in-only-input-qualifier.geom | 23 + .../compiler/layout-in-only-one-qualifier-id.geom | 24 ++ 2 files changed, 47 insertions(+) create mode 100644 tests/spec/glsl-1.50/compiler/layout-in-only-input-qualifier.geom create mode

[Piglit] [PATCH 4/4] GS: Test that max_vertices cannot be greater than glMaxGeometryOutputVertices

2013-09-16 Thread Nicholas Mack
--- .../glsl-1.50/compiler/layout-max-verts-limited.geom| 17 + 1 file changed, 17 insertions(+) create mode 100644 tests/spec/glsl-1.50/compiler/layout-max-verts-limited.geom diff --git a/tests/spec/glsl-1.50/compiler/layout-max-verts-limited.geom

[Piglit] [PATCH 3/4] GS: Test geometry output layout qualifier rules

2013-09-16 Thread Nicholas Mack
--- ...ayout-only-one-out-declaration-per-program.geom | 22 ++ .../compiler/layout-out-only-output-qualifier.geom | 22 ++ .../compiler/layout-out-order-irrelevant.geom | 21 + 3 files changed, 65 insertions(+) create mode 100644

[Piglit] [PATCH 1/4] GS: Test that geometry shader input/output layout qualifiers only compile if valid

2013-09-16 Thread Nicholas Mack
--- tests/all.tests| 12 ++ .../glsl-1.50/execution/geometry/CMakeLists.gl.txt | 2 + .../geometry/gs-input-layout-qualifiers.c | 137 .../geometry/gs-output-layout-qualifiers.c | 139 + 4 files

[Piglit] [PATCH 1/3] GS: Test that geometry ins/outs can have flat/smooth/noperspective qualifiers

2013-09-12 Thread Nicholas Mack
--- .../gs-also-uses-smooth-flat-noperspective.geom| 25 ++ ...also-uses-smooth-flat-noperspective.shader_test | 91 ++ 2 files changed, 116 insertions(+) create mode 100644 tests/spec/glsl-1.50/compiler/gs-also-uses-smooth-flat-noperspective.geom create mode 100644

[Piglit] [PATCH 3/3] GS: Test that varyings of the same name between VS and GS must match types

2013-09-12 Thread Nicholas Mack
--- .../vs-gs-varyings-match-types.shader_test | 48 ++ 1 file changed, 48 insertions(+) create mode 100644 tests/spec/glsl-1.50/execution/vs-gs-varyings-match-types.shader_test diff --git a/tests/spec/glsl-1.50/execution/vs-gs-varyings-match-types.shader_test

[Piglit] [PATCH 2/3] GS: Tests that varying arrays can only be passed between VS and GS within blocks

2013-09-12 Thread Nicholas Mack
--- .../execution/vs-gs-arrays-fail.shader_test| 63 .../vs-gs-arrays-within-blocks-pass.shader_test| 86 ++ 2 files changed, 149 insertions(+) create mode 100644 tests/spec/glsl-1.50/execution/vs-gs-arrays-fail.shader_test create mode 100644

[Piglit] [PATCH 2/2] Change the geometry shader output layouts from 'triangles' to 'triangle_strip' because 'triangles' should be invalid

2013-09-09 Thread Nicholas Mack
--- tests/spec/glsl-1.50/compiler/layout-global-only-out.geom | 2 +- tests/spec/glsl-1.50/compiler/output-struct.geom | 2 +- tests/spec/glsl-1.50/execution/geometry/gs-mismatch-prim-type.c | 2 +-

[Piglit] [PATCH] Test that GetProgramiv() now accepts GEOMETRY_INPUT_TYPE, GEOMETRY_OUTPUT_TYPE and GEOMETRY_VERTICES_OUT

2013-09-09 Thread Nicholas Mack
**NOTE**: At the time this test was written, the new enums, GEOMETRY_INPUT_TYPE, GEOMETRY_OUTPUT_TYPE and GEOMETRY_VERTICES_OUT, do not seem to be implemented, thus causing the tests to fail. --- tests/all.tests| 1 +

[Piglit] [PATCH] Test that GetShaderiv() may now return GEOMETRY_SHADER if passed a valid GS object

2013-09-09 Thread Nicholas Mack
--- tests/all.tests| 1 + .../glsl-1.50/execution/geometry/CMakeLists.gl.txt | 1 + .../execution/geometry/getshaderiv-may-return-GS.c | 115 + 3 files changed, 117 insertions(+) create mode 100644

[Piglit] [PATCH] GS: Modify an older test to also check MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS with GL version 3.2

2013-09-09 Thread Nicholas Mack
--- tests/spec/arb_uniform_buffer_object/minmax.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/spec/arb_uniform_buffer_object/minmax.c b/tests/spec/arb_uniform_buffer_object/minmax.c index ade70dc..62e029e 100644 --- a/tests/spec/arb_uniform_buffer_object/minmax.c

[Piglit] [PATCH v2] Test that nothing is drawn if GS emits too few vertices to create a primitive

2013-09-03 Thread Nicholas Mack
v2: add check for how many primitives were actually generated --- tests/all.tests | 1 + tests/spec/glsl-1.50/CMakeLists.gl.txt| 13 ++ tests/spec/glsl-1.50/CMakeLists.txt | 1 + tests/spec/glsl-1.50/gs-emits-too-few-verts.c | 166

[Piglit] [PATCH] Test that nothing is drawn if GS emits too few vertices to create a primitive

2013-08-29 Thread Nicholas Mack
--- tests/all.tests | 1 + tests/spec/glsl-1.50/CMakeLists.gl.txt| 13 +++ tests/spec/glsl-1.50/CMakeLists.txt | 1 + tests/spec/glsl-1.50/gs-emits-too-few-verts.c | 153 ++ 4 files changed, 168 insertions(+) create

[Piglit] [PATCH] GL 1.50: Test that UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER is accepted by GetActiveUniformBlockiv()

2013-08-28 Thread Nicholas Mack
--- tests/spec/glsl-1.50/CMakeLists.gl.txt | 13 +++ tests/spec/glsl-1.50/CMakeLists.txt| 1 + .../query-uniform-block-referenced-by-gs.c | 124 + 3 files changed, 138 insertions(+) create mode 100644

[Piglit] [PATCH] Test that geometry shaders input types must match the primitive mode

2013-08-28 Thread Nicholas Mack
--- tests/spec/glsl-1.50/CMakeLists.gl.txt | 22 +++ tests/spec/glsl-1.50/CMakeLists.txt| 1 + .../glsl-1.50/gs-mismatch-prim-type-lines-adj.c| 167 + tests/spec/glsl-1.50/gs-mismatch-prim-type-lines.c | 167 +

[Piglit] [PATCH 1/2] GLSL 1.50: Test that geometry shader output may be a struct

2013-08-23 Thread Nicholas Mack
--- tests/spec/glsl-1.50/compiler/output-struct.geom | 52 1 file changed, 52 insertions(+) create mode 100644 tests/spec/glsl-1.50/compiler/output-struct.geom diff --git a/tests/spec/glsl-1.50/compiler/output-struct.geom

[Piglit] [PATCH 2/2] GLSL 1.50: Test that struct varyings are passed correctly from GS to FS

2013-08-23 Thread Nicholas Mack
--- .../varying-struct-basic-vs-gs-fs.shader_test | 141 + 1 file changed, 141 insertions(+) create mode 100644 tests/spec/glsl-1.50/execution/varying-struct-basic-vs-gs-fs.shader_test diff --git

[Piglit] [PATCH 1/3] GLSL 1.50: Test that geometry shader must specify input type, output type and maximum output vertices

2013-08-23 Thread Nicholas Mack
--- .../linker/gs-must-specify-input-type.shader_test | 52 + .../gs-must-specify-max-vertices.shader_test | 53 ++ .../linker/gs-must-specify-output-type.shader_test | 53 ++ 3 files changed, 158 insertions(+) create mode 100644

[Piglit] [PATCH 3/3] GLSL 1.50: Test that linking fails if there is a geom shader without a vert shader

2013-08-23 Thread Nicholas Mack
--- .../glsl-1.50/linker/gs-without-vs.shader_test | 39 ++ 1 file changed, 39 insertions(+) create mode 100644 tests/spec/glsl-1.50/linker/gs-without-vs.shader_test diff --git a/tests/spec/glsl-1.50/linker/gs-without-vs.shader_test

[Piglit] [PATCH 2/3] GLSL 1.50: Test that differently specified input/output layouts results in link error

2013-08-23 Thread Nicholas Mack
--- ...ax-vertices-multiple-shader-objects.shader_test | 64 ++ ...output-type-multiple-shader-objects.shader_test | 64 ++ 2 files changed, 128 insertions(+) create mode 100644

[Piglit] [PATCH 1/5] GL 3.2: Test functionality of ProvokingVertex()

2013-08-20 Thread Nicholas Mack
--- tests/spec/CMakeLists.txt | 1 + tests/spec/arb_provoking_vertex/CMakeLists.gl.txt | 14 tests/spec/arb_provoking_vertex/CMakeLists.txt | 1 + .../provoking-vertex-control.c | 77 ++ 4 files changed, 93 insertions(+)

[Piglit] [PATCH 2/5] GL 3.2: Test that the initial value of provoking vertex mode is LAST_VERTEX_CONVENTION

2013-08-20 Thread Nicholas Mack
--- tests/spec/arb_provoking_vertex/CMakeLists.gl.txt | 1 + .../provoking-vertex-initial.c | 64 ++ 2 files changed, 65 insertions(+) create mode 100644 tests/spec/arb_provoking_vertex/provoking-vertex-initial.c diff --git

[Piglit] [PATCH v2 03/10] GL3.2 GL_ARB_sync: Test DeleteSync errors returned

2013-08-20 Thread Nicholas Mack
v2: Remove DeleteSync-errors.c --- tests/spec/arb_sync/CMakeLists.gl.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/spec/arb_sync/CMakeLists.gl.txt b/tests/spec/arb_sync/CMakeLists.gl.txt index ff8ca85..1996c75 100644 --- a/tests/spec/arb_sync/CMakeLists.gl.txt +++

[Piglit] [PATCH v2 01/10] GL3.2 GL_ARB_sync: Test to check the correct error messages are returned for invalid inputs for ClientWaitSync

2013-08-20 Thread Nicholas Mack
v2: Fix comments, initialize variables, rewrite loop through all bit masks --- tests/spec/arb_sync/CMakeLists.gl.txt | 1 + tests/spec/arb_sync/ClientWaitSync-errors.c | 103 2 files changed, 104 insertions(+) create mode 100644

[Piglit] [PATCH v2 04/10] GL3.2 GL_ARB_sync: Basic test for DeleteSync

2013-08-20 Thread Nicholas Mack
v2: Fix comments, add test for passing invalid sync to IsSync(), change variable types. --- tests/spec/arb_sync/CMakeLists.gl.txt | 2 +- tests/spec/arb_sync/DeleteSync.c | 71 +++ 2 files changed, 72 insertions(+), 1 deletion(-) create mode 100644

[Piglit] [PATCH v2 05/10] GL3.2 GL_ARB_sync: Test for the correct error messages caused by invalid input to FenceSync

2013-08-20 Thread Nicholas Mack
v2: Fix comments, remove unnecessary tests. --- tests/spec/arb_sync/CMakeLists.gl.txt | 1 + tests/spec/arb_sync/FenceSync-errors.c | 71 ++ 2 files changed, 72 insertions(+) create mode 100644 tests/spec/arb_sync/FenceSync-errors.c diff --git

[Piglit] [PATCH v2 09/10] GL3.2 GL_ARB_sync: Test that the correct error messages are returned from invalid input for WaitSync

2013-08-20 Thread Nicholas Mack
v2: Fix comments, remove redundant code --- tests/spec/arb_sync/CMakeLists.gl.txt | 1 + tests/spec/arb_sync/WaitSync-errors.c | 82 +++ 2 files changed, 83 insertions(+) create mode 100644 tests/spec/arb_sync/WaitSync-errors.c diff --git

[Piglit] [PATCH v2 06/10] GL3.2 GL_ARB_sync: Test that GetSynciv sets correct error codes.

2013-08-20 Thread Nicholas Mack
v2: Fix comments, initialize variables --- tests/spec/arb_sync/CMakeLists.gl.txt | 1 + tests/spec/arb_sync/GetSynciv-errors.c | 94 ++ 2 files changed, 95 insertions(+) create mode 100644 tests/spec/arb_sync/GetSynciv-errors.c diff --git

[Piglit] [PATCH v2 10/10] Add the arb_sync tests to all.tests

2013-08-20 Thread Nicholas Mack
--- tests/all.tests | 8 1 file changed, 8 insertions(+) diff --git a/tests/all.tests b/tests/all.tests index 7491cae..f97c65b 100644 --- a/tests/all.tests +++ b/tests/all.tests @@ -989,8 +989,16 @@ import_glsl_parser_tests(spec['ARB_shader_stencil_export'], # Group ARB_sync arb_sync

[Piglit] [PATCH v2 08/10] GL3.2 GL_ARB_sync: Test that a sync object is initialized with the correct properties

2013-08-20 Thread Nicholas Mack
v2: Fix comments, add extra checks for length variable being modified --- tests/spec/arb_sync/CMakeLists.gl.txt | 1 + tests/spec/arb_sync/sync-initialize.c | 125 ++ 2 files changed, 126 insertions(+) create mode 100644 tests/spec/arb_sync/sync-initialize.c

[Piglit] [PATCH v2 07/10] GL3.2 GL_ARB_sync: Test that IsSync returns true/false if it is given a valid/invalid sync object name

2013-08-20 Thread Nicholas Mack
v2: Fix comments, initialize variables --- tests/spec/arb_sync/CMakeLists.gl.txt | 1 + tests/spec/arb_sync/IsSync.c | 82 +++ 2 files changed, 83 insertions(+) create mode 100644 tests/spec/arb_sync/IsSync.c diff --git