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
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
v2: change context
---
.../CMakeLists.gl.txt | 1 +
.../vertex-attrib-pointer-type-size-match.c| 92 ++
2 files changed, 93 insertions(+)
create mode 100644
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
---
.../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
---
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
---
.../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
---
.../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
---
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
---
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
---
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
---
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|
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 +
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
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
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|
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
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
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
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
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
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
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
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
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
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 +
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
---
.../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
---
...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
---
...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
---
.../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
---
...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
---
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
---
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
---
...-layout-qualifiers-with-variable-declarations.geom | 19 +++
...-layout-qualifiers-with-variable-declarations.geom | 19 +++
2 files changed, 38 insertions(+)
create mode 100644
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
---
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
---
.../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
---
.../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
---
...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
---
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
---
.../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
---
.../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
---
.../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
---
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 +-
**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 +
---
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
---
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
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
---
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
---
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
---
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 +
---
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
---
.../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
---
.../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
---
.../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
---
...ax-vertices-multiple-shader-objects.shader_test | 64 ++
...output-type-multiple-shader-objects.shader_test | 64 ++
2 files changed, 128 insertions(+)
create mode 100644
---
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(+)
---
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
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
+++
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
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
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
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
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
---
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
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
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
68 matches
Mail list logo