[Piglit] [PATCH 6/6] Remove Glean arb_vertex_program test.

2017-12-02 Thread Fabian Bieler
--- tests/all.py | 46 +- tests/glean/CMakeLists.gl.txt |1 - tests/glean/tvertprog1.cpp| 1115 - tests/glean/tvertprog1.h | 88 4 files changed, 1 insertion(+), 1249 deletions(-) delete mode 100644 tests/glean/tvertpr

[Piglit] [PATCH 3/6] Port arb_vertex_program instruction tests from Glean to Piglit.

2017-12-02 Thread Fabian Bieler
--- .../instructions/abs.shader_test | 16 ++ .../instructions/add.shader_test | 17 +++ .../instructions/arl.shader_test | 35 ++ .../instructions/dp3.shader_test | 20 + .../in

[Piglit] [PATCH 1/6] arb_vertex_program: Test property bindings.

2017-12-02 Thread Fabian Bieler
Test accessing the GL state from ARB_vertex_program using property bindings. Matrix bindings are not tested. --- tests/all.py | 1 + tests/spec/arb_vertex_program/CMakeLists.gl.txt | 1 + tests/spec/arb_vertex_program/property-bindings.c | 405 ++

[Piglit] [PATCH 4/6] Port arb_vertex_program position writes tests from Glean to Piglit.

2017-12-02 Thread Fabian Bieler
--- .../compute_position_from_texcoord.shader_test | 18 + tests/spec/arb_vertex_program/z-write.shader_test | 23 ++ 2 files changed, 41 insertions(+) create mode 100644 tests/spec/arb_vertex_program/compute_position_from_texcoord.shader_test create mod

[Piglit] Port ARB_vertex_program Glean tests to Piglit

2017-12-02 Thread Fabian Bieler
Similarly to my series for GLSL the tests for property bindings of GL state (a.k.a. built-in uniform state) were expanded. I've seen no compiler warnings. All tests pass on mesa (i965) (as the Glean tests did, too). ___ Piglit mailing list Piglit@lists.

[Piglit] [PATCH 2/6] arb_vertex_program: Test matrix property bindings.

2017-12-02 Thread Fabian Bieler
Test accessing the GL matrix state from ARB_vertex_program using property bindings. --- tests/all.py | 1 + tests/spec/arb_vertex_program/CMakeLists.gl.txt| 1 + .../arb_vertex_program/matrix-property-bindings.c | 251 + 3 files ch

[Piglit] [PATCH 5/6] Port arb_vertex_program numeric stress tests from Glean to Piglit.

2017-12-02 Thread Fabian Bieler
--- .../spec/arb_vertex_program/divide_by_zero.shader_test | 18 ++ .../arb_vertex_program/infinity_and_nan.shader_test| 17 + 2 files changed, 35 insertions(+) create mode 100644 tests/spec/arb_vertex_program/divide_by_zero.shader_test create mode 100644 test

[Piglit] [PATCH 3/4] ATI_fs: add some api tests

2017-12-02 Thread Miklós Máté
v2: don't exit on first failure, add license headers, drop redundant error checks, add build system integration, add tests to all.py Signed-off-by: Miklós Máté --- tests/all.py | 2 + tests/spec/ati_fragment_shader/CMakeLists.gl.txt | 3 + tests/spec/ati

[Piglit] [PATCH 4/4] Remove old ATI_fs test

2017-12-02 Thread Miklós Máté
It's a subset of spec/ati_fragment_shader/api-gen Signed-off-by: Miklós Máté --- tests/all.py | 1 - tests/shaders/CMakeLists.gl.txt | 1 - tests/shaders/ati-fs-bad-delete.c | 58 --- 3 files changed, 60 deletions(-) delete mode 10064

[Piglit] [PATCH 0/4] Tests for GL_ATI_fragment_shader v2

2017-12-02 Thread Miklós Máté
This series adds API sanity checks, error checks for the conditions listed in the specification, and render tests for validating the state machine. I think this is the point where the test set starts becoming useful. I plan to do more API sanity checks, validate error conditions that are not in th

[Piglit] [PATCH 1/4] ATI_fs: add api error tests

2017-12-02 Thread Miklós Máté
One for each paragraph in the Errors section of the spec. v2: don't exit on first failure, improve some tests, move spec quotes to top, add license headers, drop redundant error checks, add build system integration, add tests to all.py Signed-off-by: Miklós Máté --- tests/all.py

[Piglit] [PATCH 2/4] ATI_fs: add render tests

2017-12-02 Thread Miklós Máté
These mainly check the state machine. Compiler checks will come later. v2: don't exit on first failure, improve some tests, add license headers, drop redundant error checks, add build system integration, add tests to all.py Signed-off-by: Miklós Máté --- tests/all.py