[Piglit] [PATCH 11/12] Port texture unit test from Glean to Piglit

2017-11-15 Thread Fabian Bieler
--- tests/all.py| 1 + tests/spec/gl-2.0/api/CMakeLists.gl.txt | 1 + tests/spec/gl-2.0/api/texture-units.c | 260 3 files changed, 262 insertions(+) create mode 100644 tests/spec/gl-2.0/api/texture-units.c diff --git a/tests/all

[Piglit] [PATCH 04/12] Remove texture env combine Glean test

2017-11-15 Thread Fabian Bieler
Replaced by new piglit ext_texture_env_combine-combine test. --- tests/all.py |1 - tests/glean/CMakeLists.gl.txt |1 - tests/glean/ttexcombine.cpp | 1715 - tests/glean/ttexcombine.h | 137 tests/llvmpipe.py

[Piglit] [PATCH 08/12] Remove texture env combine4 Glean test

2017-11-15 Thread Fabian Bieler
--- tests/all.py | 1 - tests/glean/CMakeLists.gl.txt | 1 - tests/glean/ttexcombine4.cpp | 415 -- tests/glean/ttexcombine4.h| 88 - 4 files changed, 505 deletions(-) delete mode 100644 tests/glean/ttexcombine4.cpp delet

[Piglit] [PATCH 05/12] Port texture env test from Glean to Piglit

2017-11-15 Thread Fabian Bieler
Note: 3 texture environment functions (modulate, decal and blend) were introduces with OpenGL 1.0. GL 1.1 and 1.3 added the replace and add functions, respectively. As this test tests all 5 functions it is classified as OpenGL 1.3. --- tests/all.py| 1 + tests/spec/gl-1

[Piglit] [PATCH 06/12] Remove texture environment Glean test

2017-11-15 Thread Fabian Bieler
--- tests/all.py | 1 - tests/glean/CMakeLists.gl.txt | 1 - tests/glean/ttexenv.cpp | 674 -- tests/glean/ttexenv.h | 69 - 4 files changed, 745 deletions(-) delete mode 100644 tests/glean/ttexenv.cpp delete mode 10

[Piglit] [PATCH 12/12] Remove texture unit Glean test

2017-11-15 Thread Fabian Bieler
--- tests/all.py | 1 - tests/glean/CMakeLists.gl.txt | 1 - tests/glean/ttexunits.cpp | 319 -- tests/glean/ttexunits.h | 75 -- 4 files changed, 396 deletions(-) delete mode 100644 tests/glean/ttexunits.cpp delete

[Piglit] [PATCH 02/12] Remove point sprite Glean test

2017-11-15 Thread Fabian Bieler
Replaced by new piglit arb_point_sprite-mipmap test. --- tests/all.py | 1 - tests/glean/CMakeLists.gl.txt | 1 - tests/glean/tpointsprite.cpp | 454 -- tests/glean/tpointsprite.h| 74 --- 4 files changed, 530 deletions(-) del

[Piglit] [PATCH 07/12] Port texture env combine4 test from Glean to Piglit

2017-11-15 Thread Fabian Bieler
The custom rolled random number generation was replaced by one from stdlib. --- tests/all.py | 5 + tests/spec/CMakeLists.txt | 1 + .../spec/nv_texture_env_combine4/CMakeLists.gl.txt | 13 ++ tests/spec/nv_texture_env_combine4/CM

[Piglit] [PATCH 10/12] Remove texture coord generation Glean test

2017-11-15 Thread Fabian Bieler
--- tests/all.py | 1 - tests/glean/CMakeLists.gl.txt | 1 - tests/glean/ttexgen.cpp | 376 -- tests/glean/ttexgen.h | 67 4 files changed, 445 deletions(-) delete mode 100644 tests/glean/ttexgen.cpp delete mode

[Piglit] [PATCH 09/12] Port tex coord generation test from Glean to Piglit

2017-11-15 Thread Fabian Bieler
Note that the Glean test used multiple vertex specification modes (immediate, vertex arrays, display lists, ...). This new test only uses one since the manner of vertex specification has no impact on the code path wrt texture coordinate generation in modern OpenGL implementations. --- tests/all.py

[Piglit] [PATCH 03/12] Port texture env combine test from Glean to Piglit

2017-11-15 Thread Fabian Bieler
--- tests/all.py |5 + tests/llvmpipe.py |1 + tests/quick.py |7 + tests/spec/CMakeLists.txt |1 + .../spec/ext_texture_env_combine/CMakeLists.gl.txt

[Piglit] [PATCH 01/12] Port point sprite test from Glean to Piglit

2017-11-15 Thread Fabian Bieler
The new test is also a bit stricter on rasterization then the old one. It shouldn't be stricter than the spec, however. --- tests/all.py | 1 + tests/spec/CMakeLists.txt | 1 + tests/spec/arb_point_sprite/CMakeLists.gl.txt | 14 ++ tests/sp

Re: [Piglit] [PATCH 05/12] Port texture env test from Glean to Piglit

2017-11-15 Thread Fabian Bieler
On 2017-11-14 23:58, Brian Paul wrote: > I'm getting a few compiler warnings from this test: > > /home/brianp/piglit/tests/spec/gl-1.3/texture-env.c: In function > ‘piglit_display’: > /home/brianp/piglit/tests/spec/gl-1.3/texture-env.c:474:17: warning: > passing argument 4 of ‘matrix_test’ from in

Re: [Piglit] [PATCH] cl: Add tests for load lo16 instructions

2017-11-15 Thread Jan Vesely
On Tue, 2017-11-14 at 00:58 -0800, Matt Arsenault wrote: > ping Reviewed-by: Jan Vesely I've fixed few whitespace errors locally, and I will push this by the end of the week. Jan > > > On Oct 27, 2017, at 03:02, Matt Arsenault wrote: > > > > --- > > tests/cl/program/execute/load-lo16-generi

Re: [Piglit] [PATCH] unittests: test WflInfo in its own module and correct depending ones

2017-11-15 Thread Brian Paul
Reviewed-by: Brian Paul On 11/15/2017 02:21 AM, Andres Gomez wrote: Fixes: edc41a1db ("framework: move WflInfo class into new wflinfo.py module") Cc: Brian Paul Cc: Dylan Baker Signed-off-by: Andres Gomez --- unittests/framework/test/test_glsl_parser_test.py | 2 +- unittests/framewor

[Piglit] [PATCH] unittests: test WflInfo in its own module and correct depending ones

2017-11-15 Thread Andres Gomez
Fixes: edc41a1db ("framework: move WflInfo class into new wflinfo.py module") Cc: Brian Paul Cc: Dylan Baker Signed-off-by: Andres Gomez --- unittests/framework/test/test_glsl_parser_test.py | 2 +- unittests/framework/test/test_opengl.py | 363 +--- unittests/frame