[Piglit] [PATCH 1/2] arb_blend_func_extended: require GL 3.0

2014-07-03 Thread Brian Paul
Since the test shaders require GLSL 1.30 --- .../arb_blend_func_extended/execution/fbo-extended-blend-explicit.c |2 +- tests/spec/arb_blend_func_extended/execution/fbo-extended-blend.c|2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [Piglit] [PATCH] cl-api-get-platform-ids: Initialize variable.

2014-07-03 Thread Tom Stellard
On Tue, Jul 01, 2014 at 10:38:56PM -0700, Vinson Lee wrote: Fix clang sometimes-uninitialized warning. get-platform-ids.c:62:5: warning: variable 'platforms' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] if(!piglit_cl_check_error(errNo,

[Piglit] [PATCH 2/2] arb_provoking_vertex/xfb-before-flatshading: use default window size

2014-07-03 Thread Brian Paul
--- tests/spec/arb_provoking_vertex/xfb-before-flatshading.c |2 -- 1 file changed, 2 deletions(-) diff --git a/tests/spec/arb_provoking_vertex/xfb-before-flatshading.c b/tests/spec/arb_provoking_vertex/xfb-before-flatshading.c index 67cc581..6d168ea 100644 ---

Re: [Piglit] [PATCH 2/2] arb_provoking_vertex/xfb-before-flatshading: use default window size

2014-07-03 Thread Charmaine Lee
Reviewed-by: Charmaine Lee charmai...@vmware.com From: Piglit piglit-boun...@lists.freedesktop.org on behalf of Brian Paul bri...@vmware.com Sent: Thursday, July 3, 2014 10:41 AM To: piglit@lists.freedesktop.org Subject: [Piglit] [PATCH 2/2]

[Piglit] [PATCH 12/16] Unify piglit_checkerboard_texture between GL and GLES

2014-07-03 Thread Josh Triplett
In the GLES implementation, factor out the conversion of the white and black pixel values from float to ubyte outside the loop. That then unifies the loop between the two implementations. Update the documentation to note that piglit_checkerboard_texture sets GL_CLAMP_TO_EDGE on GLES, not

[Piglit] [PATCH 07/16] Unify piglit_escape_exit_key between GL and GLES

2014-07-03 Thread Josh Triplett
Signed-off-by: Josh Triplett j...@joshtriplett.org --- tests/util/piglit-util-gl-common.c | 14 ++ tests/util/piglit-util-gl.c| 13 - tests/util/piglit-util-gles.c | 12 3 files changed, 14 insertions(+), 25 deletions(-) diff --git

[Piglit] [PATCH 14/16] Factor out image generation from GLES piglit_rgbw_texture into a helper

2014-07-03 Thread Josh Triplett
This moves the GLES implementation of piglit_rgbw_texture much closer to the GL version. Signed-off-by: Josh Triplett j...@joshtriplett.org --- tests/util/piglit-util-gles.c | 82 --- 1 file changed, 45 insertions(+), 37 deletions(-) diff --git

[Piglit] [PATCH 00/16] Unify piglit-util-{gl, gles}.c into piglit-util-gl-common.c

2014-07-03 Thread Josh Triplett
This patch series unifies both the GL and GLES utility functions into a single set of functions in piglit-util-gl-common.c, in preparation for unifying the libraries themselves. I've confirmed (on an IVB test system) that this causes zero piglit regressions. This supersedes the 4-patch series I

[Piglit] [PATCH 13/16] Move piglit_miptree_texture to GL common code

2014-07-03 Thread Josh Triplett
This doesn't need to remain in the GL-specific utility library. Signed-off-by: Josh Triplett j...@joshtriplett.org --- tests/util/piglit-util-gl-common.c | 39 + tests/util/piglit-util-gl.c| 40 -- 2 files changed,

[Piglit] [PATCH 11/16] Move piglit_draw_triangle* helper functions to GL common code

2014-07-03 Thread Josh Triplett
These don't need to remain in the GL-specific utility library. Signed-off-by: Josh Triplett j...@joshtriplett.org --- tests/util/piglit-util-gl-common.c | 40 ++ tests/util/piglit-util-gl.c| 40 -- 2 files changed,

[Piglit] [PATCH 10/16] Move piglit program helper functions to GL common code

2014-07-03 Thread Josh Triplett
These don't need to remain in the GL-specific utility library. Signed-off-by: Josh Triplett j...@joshtriplett.org --- tests/util/piglit-util-gl-common.c | 81 + tests/util/piglit-util-gl.c| 82 -- 2 files changed, 81

[Piglit] [PATCH 09/16] Move remaining piglit_probe_* functions to GL common code

2014-07-03 Thread Josh Triplett
These don't need to remain in the GL-specific utility library. Signed-off-by: Josh Triplett j...@joshtriplett.org --- tests/util/piglit-util-gl-common.c | 116 + tests/util/piglit-util-gl.c| 115 2 files changed,

[Piglit] [PATCH 06/16] Unify piglit_probe_image_* functions between GL and GLES

2014-07-03 Thread Josh Triplett
Signed-off-by: Josh Triplett j...@joshtriplett.org --- tests/util/piglit-util-gl-common.c | 210 + tests/util/piglit-util-gl.c| 166 - tests/util/piglit-util-gles.c | 44 3 files changed, 210 insertions(+), 210