[Piglit] [PATCH] GL_ARB_vertex_program: Add a tests for Mesa code I was changing.

2013-09-21 Thread Eric Anholt
--- tests/all.tests | 2 + tests/spec/arb_vertex_program/CMakeLists.gl.txt | 2 + tests/spec/arb_vertex_program/getlocal4-errors.c | 93 +++ tests/spec/arb_vertex_program/getlocal4f-max.c | 112 +++ 4 files changed, 209 i

Re: [Piglit] [PATCH] piglit: Remove gtf.tests.

2013-09-21 Thread Kenneth Graunke
On 09/18/2013 01:31 PM, Eric Anholt wrote: > It was breaking my test systems, apparently because of the refactor to > not import * in the caller of this file. At this point I think > everyone's got es3conform building, which includes es2conform, so no > point in still supporting the old one. > ---

Re: [Piglit] [PATCH 2/3] Merge quick-driver.tests to quick.tests

2013-09-21 Thread Kenneth Graunke
On 09/16/2013 11:08 AM, Marek Olšák wrote: > --- > tests/quick-driver.tests | 14 -- > tests/quick.tests| 6 ++ > 2 files changed, 6 insertions(+), 14 deletions(-) > delete mode 100644 tests/quick-driver.tests > > diff --git a/tests/quick-driver.tests b/tests/quick-drive

Re: [Piglit] [PATCH 1/3] piglit-run: add back -c0

2013-09-21 Thread Kenneth Graunke
On 09/16/2013 11:08 AM, Marek Olšák wrote: > --- > piglit-run.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/piglit-run.py b/piglit-run.py > index e8e11b7..7945b21 100755 > --- a/piglit-run.py > +++ b/piglit-run.py > @@ -62,7 +62,7 @@ def main(): >

[Piglit] [PATCH 1/3] tests/util: fix detection of strndup

2013-09-21 Thread Kenney Phillis
There is no guarantee that cmake will blindly pass all of the defines to the preprocessor. --- tests/util/CMakeLists.txt |5 + 1 file changed, 5 insertions(+) diff --git a/tests/util/CMakeLists.txt b/tests/util/CMakeLists.txt index 8f1420c..1b09437 100644 --- a/tests/util/CMakeLists.txt +

[Piglit] [PATCH 2/3] piglit-util-gl-common: Add Function to clear extensions list.

2013-09-21 Thread Kenney Phillis
The default handling of Extension fall backs does not work in specific cases where the list of supported extensions changes. The list of extensions for a Core profile may be different from the same context created using a Compatibility profile. --- tests/util/piglit-util-gl-common.c |8 +++

[Piglit] [PATCH 3/3] util/waffle: reinitialize extensions

2013-09-21 Thread Kenney Phillis
Implements reinitialization on waffle based contexts to allow context fallbacks to work as intended. --- .../piglit-framework-gl/piglit_wfl_framework.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/util/piglit-framework-gl/piglit_wfl_framework.c b/tests/util/piglit-framework-

[Piglit] [PATCH] glsl-1.50: Test compilation of interface blocks containing unsized arrays.

2013-09-21 Thread Paul Berry
Although it's not explicitly stated in the GLSL 1.50 spec, unsized arrays are allowed in interface blocks. section 1.2.3 (Changes from revision 5 of version 1.5) of the GLSL 1.50 spec says: * Completed full update to grammar section. Tested spec examples against it: ... *