[Piglit] [PATCH 2/3] piglit: rename FindLine() to piglit_find_line()

2012-10-03 Thread Brian Paul
--- tests/util/piglit-util-gl.c |2 +- tests/util/piglit-util.c|2 +- tests/util/piglit-util.h|2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/util/piglit-util-gl.c b/tests/util/piglit-util-gl.c index 96f6258..cb697d8 100644 ---

[Piglit] [PATCH 1/6] cl: Add scalar-load-uchar test

2012-10-03 Thread Tom Stellard
From: Tom Stellard thomas.stell...@amd.com --- tests/all_cl.tests| 1 + tests/cl/program/execute/scalar-load-uchar.cl | 15 +++ 2 files changed, 16 insertions(+) create mode 100644 tests/cl/program/execute/scalar-load-uchar.cl diff --git

[Piglit] [PATCH 4/6] cl: Add gegl rgb-gamma-u8-to-ragabaf test

2012-10-03 Thread Tom Stellard
From: Tom Stellard thomas.stell...@amd.com --- tests/all_cl.tests | 1 + .../execute/gegl-rgb-gamma-u8-to-ragabaf.cl| 68 ++ 2 files changed, 69 insertions(+) create mode 100644 tests/cl/program/execute/gegl-rgb-gamma-u8-to-ragabaf.cl

[Piglit] [PATCH 5/6] cl: Add gegl fir-get-mean-component-1D-CL.cl

2012-10-03 Thread Tom Stellard
From: Tom Stellard thomas.stell...@amd.com --- tests/all_cl.tests | 1 + .../execute/gegl-fir-get-mean-component-1D-CL.cl | 58 ++ 2 files changed, 59 insertions(+) create mode 100644

[Piglit] [PATCH 6/6] cl: Add vectore-store-int4 test

2012-10-03 Thread Tom Stellard
From: Tom Stellard thomas.stell...@amd.com --- tests/all_cl.tests| 1 + tests/cl/program/execute/vector-store-int4.cl | 16 2 files changed, 17 insertions(+) create mode 100644 tests/cl/program/execute/vector-store-int4.cl diff --git

[Piglit] [PATCH v2] framebuffer-blit-levels: Test stencil buffers.

2012-10-03 Thread Paul Berry
This patch modifies framebuffer-blit-levels to test that blitting between miplevels of the stencil portion of a depth/stencil texture works properly. This is an important corner case for Mesa's i965 driver. Note that stencil data can't be uploaded to a texture directly using glTexImage2D(). It

Re: [Piglit] [PATCH 08/23] util, tests: Replace GLUT visual enums with PIGLTI_GL_VISUAL enums

2012-10-03 Thread Kenneth Graunke
On 09/28/2012 01:48 PM, Chad Versace wrote: I'm trying to transition Piglit from using GLUT to using Waffle. That requires either killing or wrapping all GLUT code. Define enum piglit_gl_visual in piglit-framework.h, of which each value matches its corresponding GLUT visual enum. Do the

Re: [Piglit] [PATCH 08/23] util, tests: Replace GLUT visual enums with PIGLTI_GL_VISUAL enums

2012-10-03 Thread Chad Versace
On 10/03/2012 04:43 PM, Kenneth Graunke wrote: On 09/28/2012 01:48 PM, Chad Versace wrote: /** + * A bitmask of these enums specifies visual attributes for the test's window. + * + * Each enum has the same value of its corresponding GLUT enum. That is, for + * each X,

Re: [Piglit] [PATCH 12/23] util: Add wrappers for malloc and calloc that catch errors

2012-10-03 Thread Kenneth Graunke
On 09/28/2012 10:44 AM, Chad Versace wrote: Memory allocation should rarely fail, but when it does the test should immediately abort and explain why. This patch defines two utility wrapper functions, piglit_malloc() and piglit_calloc(), that do exactly that when allocation fails. Signed-off-by:

Re: [Piglit] [PATCH 00/23] Support tests for GL core contexts

2012-10-03 Thread Kenneth Graunke
On 09/28/2012 10:44 AM, Chad Versace wrote: This series is on my framework-gl-v22 branch. It is 1.6 MB worth of patches, so I expect some patches to be dropped by the mailing list. For reference, the point where it diverges from master is my framework-gl-v22-base branch.

Re: [Piglit] [PATCH 08/23] util, tests: Replace GLUT visual enums with PIGLTI_GL_VISUAL enums

2012-10-03 Thread Kenneth Graunke
On 10/03/2012 04:50 PM, Chad Versace wrote: On 10/03/2012 04:43 PM, Kenneth Graunke wrote: On 09/28/2012 01:48 PM, Chad Versace wrote: /** + * A bitmask of these enums specifies visual attributes for the test's window. + * + * Each enum has the same value of its corresponding GLUT enum.