[Piglit] [PATCH] line-flat-clip-color: test flat-shaded line clipping color

2014-02-03 Thread Brian Paul
ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + * DEALINGS IN THE SOFTWARE. + */ + +/* + * Test flat-shaded clipped line color. + * Exercises provoking vertex, line smooth, line width, etc. + * + * Author: Brian Paul + */ + + +#include "piglit-util-gl-common.h&quo

[Piglit] more on max-texture-size.c

2014-02-07 Thread Brian Paul
Hi Kenneth, In addition to a couple patches which I just posted, I think there's some more loose ends in this test. Basically, the test_proxy_texture_size test determines the maximum texture size that passes the proxy test. I think we want to use that info when we do the test_non_proxy_text

[Piglit] [PATCH 2/2] max-texture-size: fix size reported in error message

2014-02-07 Thread Brian Paul
If texInitData() failed, it was with maxSide/2, not maxSide. --- tests/texturing/max-texture-size.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/texturing/max-texture-size.c b/tests/texturing/max-texture-size.c index 49bf766..45e01c9 100644 --- a/tests/texturing/ma

[Piglit] [PATCH 1/2] max-texture-size: test glTexSubImage2D() for GL_TEXTURE_RECTANGLE too

2014-02-07 Thread Brian Paul
All the other texture targets test glTexSubImage(), so do it for this target too. --- tests/texturing/max-texture-size.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/texturing/max-texture-size.c b/tests/texturing/max-texture-size.c index 60ebc15..49bf766 100644 --- a/tests/text

[Piglit] [PATCH] max-texture-size: test non-proxy targets with max size from proxy test

2014-02-07 Thread Brian Paul
Save the max texture size found with the proxy targets. Then use that max size when we test the regular/non-proxy targets with glTexImage and glTexSubImage(). The whole point of proxy textures is to be able to probe the maximum texture size. So let's use that size when we try the real textures.

Re: [Piglit] [PATCH] line-flat-clip-color: Initialize and update test result.

2014-02-08 Thread Brian Paul
On 02/08/2014 12:59 PM, Vinson Lee wrote: Fixes "Uninitialized scalar variable" defect reported by Coverity. Signed-off-by: Vinson Lee --- tests/general/line-flat-clip-color.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/general/line-flat-clip-color.c b/test

Re: [Piglit] [PATCH V2] line-flat-clip-color: Initialize variable.

2014-02-08 Thread Brian Paul
bool pass = false; int dy, y = piglit_height / 2; glClear(GL_COLOR_BUFFER_BIT); Reviewed-by: Brian Paul Thanks, Vinson! ___ Piglit mailing list Piglit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/piglit

Re: [Piglit] [PATCH 2/2] texturing/s3rc-errors: double check GL_TEXTURE parameters and alloc

2014-02-11 Thread Brian Paul
There's a typo in the subject line: "s3rc" -> "s3tc" -Brian ___ Piglit mailing list Piglit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/piglit

Re: [Piglit] [PATCH] max-texture-size: test non-proxy targets with max size from proxy test

2014-02-11 Thread Brian Paul
On 02/10/2014 07:49 PM, Ian Romanick wrote: On 02/07/2014 03:34 PM, Brian Paul wrote: Save the max texture size found with the proxy targets. Then use that max size when we test the regular/non-proxy targets with glTexImage and glTexSubImage(). The whole point of proxy textures is to be able

Re: [Piglit] libepoxy conversion v2

2014-02-25 Thread Brian Paul
On 02/25/2014 01:47 PM, Ken Phillis Jr wrote: On Mon, Feb 24, 2014 at 1:41 PM, Eric Anholt wrote: I'd really like to get this in soon -- Fabian just spent what was probably quite a bit of time building a new piglit-private dispatch builder due to the .spec files no longer being updated, and I'd

Re: [Piglit] [PATCH] s3tc-errors: Fix GCC compiler warnings.

2014-02-27 Thread Brian Paul
- bool is_compressed; - GLuint compressed_size; - GLenum format; + GLint is_compressed; + GLint compressed_size; + GLint format; glPixelStorei(GL_UNPACK_SKIP_PIXELS, 0); glPixelStorei(GL_UNPACK_SKIP_ROWS, 0); Reviewed-by

[Piglit] building piglit on Ubuntu 13.10

2014-02-27 Thread Brian Paul
Has anyone else here build piglit on Ubuntu 13.10? Starting with a basically fresh installation, I'm trying to install python-numpy: """ $ sudo apt-get install python-numpy Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be instal

[Piglit] [PATCH] packed_depth_stencil: add a glGetTexImage test

2014-02-27 Thread Brian Paul
Checks a Mesa bug in glGetTexImage(GL_DEPTH_STENCIL/GL_UNSIGNED_INT_24_8) --- tests/all.py |1 + .../ext_packed_depth_stencil/CMakeLists.gl.txt |1 + tests/spec/ext_packed_depth_stencil/getteximage.c | 196 3 files changed, 1

[Piglit] [PATCH] packed_depth_stencil: add a glGetTexImage test

2014-02-28 Thread Brian Paul
Checks a Mesa bug in glGetTexImage(GL_DEPTH_STENCIL/GL_UNSIGNED_INT_24_8) v2: fix the extensions checks --- tests/all.py |1 + .../ext_packed_depth_stencil/CMakeLists.gl.txt |1 + tests/spec/ext_packed_depth_stencil/getteximage.c | 200 +

Re: [Piglit] [PATCH] packed_depth_stencil: add a glGetTexImage test

2014-02-28 Thread Brian Paul
On 02/28/2014 12:49 AM, Eric Anholt wrote: Brian Paul writes: +void +piglit_init(int argc, char **argv) +{ + bool pass; + + if (piglit_get_gl_version() < 30 + && !(piglit_is_extension_supported("GL_EXT_pack

Re: [Piglit] [PATCH] max-texture-size: test non-proxy targets with max size from proxy test

2014-03-01 Thread Brian Paul
Finally getting back to this one... On 02/16/2014 04:31 PM, Kenneth Graunke wrote: On 02/11/2014 07:59 AM, Brian Paul wrote: On 02/10/2014 07:49 PM, Ian Romanick wrote: On 02/07/2014 03:34 PM, Brian Paul wrote: Save the max texture size found with the proxy targets. Then use that max size

[Piglit] [PATCH] max-texture-size: use width=height=2 for glTexSubImage calls

2014-03-01 Thread Brian Paul
Before, we used maxSide/2 which could be very large, causing us to allocate large amounts of memory with calloc(). This could sometimes fail. --- tests/texturing/max-texture-size.c | 20 +++- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/tests/texturing/max-text

Re: [Piglit] building piglit on Ubuntu 13.10

2014-03-04 Thread Brian Paul
On 02/27/2014 08:04 AM, Brian Paul wrote: Has anyone else here build piglit on Ubuntu 13.10? Starting with a basically fresh installation, I'm trying to install python-numpy: """ $ sudo apt-get install python-numpy Reading package lists... Done Building dependenc

Re: [Piglit] [PATCH 2/2] teximage-errors: Test the combinations of depth and depth-stencil formats

2014-03-12 Thread Brian Paul
On 03/11/2014 06:51 PM, Anuj Phogat wrote: This patch is to verify a bug fix in mesa commit 079bff5. This commit allowed GL_DEPTH_COMPONENT and GL_DEPTH_STENCIL combinations in glTexImage{123}D functions. Signed-off-by: Anuj Phogat --- tests/texturing/teximage-errors.c | 73 ++

Re: [Piglit] [PATCH 1/2] teximage-errors: Run all the tests before returning result

2014-03-12 Thread Brian Paul
+ pass = test_pos_and_sizes() && pass; - if (!test_pos_and_sizes()) - return PIGLIT_FAIL; - - return PIGLIT_PASS; + return pass ? PIGLIT_PASS: PIGLIT_FAIL; } Reviewed-by: Brian Paul ___ Piglit mailing list Piglit@lists.free

Re: [Piglit] [PATCH 2/2] teximage-errors: Test the combinations of depth and depth-stencil formats

2014-03-12 Thread Brian Paul
On 03/12/2014 12:56 PM, Anuj Phogat wrote: On Wed, Mar 12, 2014 at 6:24 AM, Brian Paul mailto:bri...@vmware.com>> wrote: On 03/11/2014 06:51 PM, Anuj Phogat wrote: This patch is to verify a bug fix in mesa commit 079bff5. This commit allowed GL_DEPTH_COM

Re: [Piglit] [PATCH 10/10] MSAA/formats: fix testing A, L, LA, and I integer formats

2014-03-17 Thread Brian Paul
bits[0] = 32; bits[1] = 32; bits[2] = 32; bits[3] = 32; + return true; + } Do you want to set bits[0..3] = 0 here just to be safe? + return false; +} + /** * Read a pixel from the given location and compare its RGBA value to the * given expected valu

Re: [Piglit] [PATCH 10/10] MSAA/formats: fix testing A, L, LA, and I integer formats

2014-03-17 Thread Brian Paul
On 03/17/2014 09:00 AM, Marek Olšák wrote: On Mon, Mar 17, 2014 at 3:41 PM, Brian Paul wrote: On 03/15/2014 10:53 AM, Marek Olšák wrote: From: Marek Olšák --- tests/spec/ext_framebuffer_multisample/formats.cpp | 14 +++- tests/util/piglit-util-gl-common.h | 1

Re: [Piglit] [PATCH 06/10] fbo-generatemipmap-cubemap: new test for cubemaps and cube arrays

2014-03-17 Thread Brian Paul
On 03/15/2014 10:53 AM, Marek Olšák wrote: From: Marek Olšák --- tests/all.py | 6 + tests/fbo/CMakeLists.gl.txt| 1 + tests/fbo/fbo-generatemipmap-cubemap.c | 499 + 3 files changed, 506 insertions(+) create mode

Re: [Piglit] [PATCH 08/10] fbo-generatemipmap-3d: new test for 3D mipmap generation

2014-03-17 Thread Brian Paul
xtension("GL_EXT_texture_shared_exponent"); + format = GL_RGB9_E5; + } + else { + assert(0); + } + } It might be nice if you could pass other internal formats to the test, GL_RGB5, GL_RGB32F, etc. b

Re: [Piglit] [PATCH] shader_runner: Don't try to use more clipplanes than supported.

2014-03-19 Thread Brian Paul
components); @@ -2024,6 +2026,7 @@ piglit_init(int argc, char **argv) &gl_max_vertex_uniform_components); gl_max_fragment_uniform_components *= 4; gl_max_vertex_uniform_components *= 4; + gl_max_clip_planes = 0; #endif if

[Piglit] [PATCH] fbo-tex-rgbx: test rendering to and texturing from an RGBx texture

2014-03-20 Thread Brian Paul
Y, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + * IN THE SOFTWARE. + */ + +/** + * \file fbo-tex-rgbx.c + * \author Brian Paul + * + * Test texturing from an RGB texture after we've rendered so

Re: [Piglit] [PATCH] primitive-restart-draw-mode: fix failures caused by precision issues

2014-03-24 Thread Brian Paul
Reviewed-by: Brian Paul On 03/22/2014 12:20 PM, Marek Olšák wrote: From: Marek Olšák Instead of offsetting the vertex position for the second half of the screen, setup both halves as separate viewports. --- tests/general/primitive-restart-draw-mode.c | 10 -- 1 file changed, 8

Re: [Piglit] [PATCH] glean: Fix fbo errors case

2014-03-25 Thread Brian Paul
!have_ARB_ES2) { REPORT_FAILURE Reviewed-by: Brian Paul ___ Piglit mailing list Piglit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/piglit

[Piglit] [PATCH] dlist-multidrawarrays: test that glMultiDrawArrays works in a display list

2014-03-26 Thread Brian Paul
--- tests/all.py |1 + tests/spec/CMakeLists.txt |1 + tests/spec/gl-1.4/CMakeLists.gl.txt | 14 +++ tests/spec/gl-1.4/CMakeLists.txt |1 + tests/spec/gl-1.4/dlist-multidrawarrays.c | 169 + 5 fi

[Piglit] [PATCH] dlist-multidrawarrays: test that glMultiDrawArrays works in a display list

2014-03-27 Thread Brian Paul
v2: Also test GL_COMPILE_AND_EXECUTE mode. --- tests/all.py |1 + tests/spec/CMakeLists.txt |1 + tests/spec/gl-1.4/CMakeLists.gl.txt | 14 ++ tests/spec/gl-1.4/CMakeLists.txt |1 + tests/spec/gl-1.4/dlist-multidrawarrays.c

Re: [Piglit] [PATCH] for gles v1 extension oes_query_matrix

2014-03-28 Thread Brian Paul
AM To: Huang, JunX A; Ian Romanick; Brian Paul; piglit@lists.freedesktop.org Subject: RE: [Piglit] [PATCH] for gles v1 extension oes_query_matrix Soft reminder. -Original Message- From: piglit-boun...@lists.freedesktop.org [mailto:piglit-boun...@lists.freedesktop.org] On Behalf Of Huang

Re: [Piglit] Over three thousand crashes on opengl driver of ADM&NV caused by commit b28cdc887aefb1e766719e1f74d457f77bdf9a18

2014-04-03 Thread Brian Paul
On 04/03/2014 03:42 AM, Fu, Ping wrote: Hi Justen, I tested the latest piglit and found lots of crashes(Over three thousand) on both AMD and NVIDIA. This might be caused by your commit b28cdc887aefb1e766719e1f74d457f77bdf9a18 on shader_runner.c. According to page 363 and 360 of glspec44.compati

Re: [Piglit] [PATCH] ext_timer_query/time-elapsed: Prevent infinite loop.

2014-04-03 Thread Brian Paul
iters) { + printf("Couldn't find appropriate number of iterations\n"); + piglit_report_result(PIGLIT_FAIL); + } } /* Now, do several runs like this so we can determine if the Re

Re: [Piglit] Over three thousand crashes on opengl driver of ADM&NV caused by commit b28cdc887aefb1e766719e1f74d457f77bdf9a18

2014-04-03 Thread Brian Paul
On 04/03/2014 10:25 AM, Jordan Justen wrote: On Thu, Apr 3, 2014 at 8:37 AM, Jordan Justen wrote: On Thu, Apr 3, 2014 at 2:42 AM, Fu, Ping wrote: Hi Justen, I tested the latest piglit and found lots of crashes(Over three thousand) on both AMD and NVIDIA. This might be caused by your commit b

[Piglit] [PATCH] fbo-generatemipmap-formats: skip integer textures

2014-04-03 Thread Brian Paul
GL doesn't allow auto mipmap generation for integer textures. Skip those formats to avoid hitting an assertion in the piglit rgbw texture utility code when using the 'n' key to cycle through tests manually. --- tests/fbo/fbo-generatemipmap-formats.c |5 + 1 file changed, 5 insertions(+) d

[Piglit] [PATCH] swapbuffers-behavior: check if swapbuffers swaps or copies

2014-04-12 Thread Brian Paul
From: Brian Paul Probe front/back buffers after a SwapBuffers() call to see if the implementation does a true swap or a back-to-front copy. There is no pass/fail (except for one sanity check). This is just to find out what GL does. --- tests/all.py |1 + tests

[Piglit] [PATCH] normal3b3s-invariance: test GLbyte[3] and GLshort[3] normal vec invariance

2014-04-12 Thread Brian Paul
From: Brian Paul Test rendering invariance with GLfloat[3] vs. GLbyte[3] vs. GLshort[3] normal vectors. See comments in code for more details. --- tests/all.py |2 + tests/spec/CMakeLists.txt |1 + tests/spec/gl-1.5/CMakeLists.gl.txt

Re: [Piglit] [PATCH 2/2] depth-tex-compare: Generally increase sanity

2014-04-14 Thread Brian Paul
Series looks OK to me. Reviewed-by: Brian Paul ___ Piglit mailing list Piglit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/piglit

[Piglit] [PATCH] fbo-readpixels: use piglit_get_gl_enum_name() for info/error messages

2014-04-18 Thread Brian Paul
--- tests/fbo/fbo-readpixels.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/tests/fbo/fbo-readpixels.c b/tests/fbo/fbo-readpixels.c index 25c39ef..eb5c971 100644 --- a/tests/fbo/fbo-readpixels.c +++ b/tests/fbo/fbo-readpixels.c @@ -74,9 +74,10 @@ test_with_

Re: [Piglit] [PATCH] fbo-readpixels: use piglit_get_gl_enum_name() for info/error messages

2014-04-18 Thread Brian Paul
On 04/18/2014 12:52 PM, Eric Anholt wrote: Brian Paul writes: --- tests/fbo/fbo-readpixels.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/tests/fbo/fbo-readpixels.c b/tests/fbo/fbo-readpixels.c index 25c39ef..eb5c971 100644 --- a/tests/fbo/fbo

Re: [Piglit] [PATCH 2/2] util: Create core profiles with GLUT when supported by freeglut.

2014-04-24 Thread Brian Paul
Both patches look OK to me. Reviewed-by: Brian Paul On 04/24/2014 03:03 AM, jfons...@vmware.com wrote: From: José Fonseca Handy until we have waffle everywhere. --- .../piglit-framework-gl/piglit_glut_framework.c| 30 +++--- 1 file changed, 27 insertions(+), 3

[Piglit] [PATCH 1/4] implement new texture swizzle test

2014-04-24 Thread Brian Paul
OLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + * DEALINGS IN THE SOFTWARE. + */ + +/* + * Test GL_EXT_texture_swizzle (includin

[Piglit] [PATCH 3/4] remove old tex-swizzle test

2014-04-24 Thread Brian Paul
It didn't test the GL_ONE and GL_ZERO terms and was needlessly complicated. Replaced by ext_texture_swizzle-swizzle test. --- tests/all.py |1 - tests/texturing/CMakeLists.gl.txt |1 - tests/texturing/tex-swizzle.c | 852 - 3 f

[Piglit] [PATCH 4/4] remove glean texSwizzle test

2014-04-24 Thread Brian Paul
ON OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF -// OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -// DEALINGS IN THE SOFTWARE. -// -// END_COPYRIGHT - - -// Test GL_EXT_texture_swizzle for all possible swizzle combinations -// both with fixed function and a fragment program. -// Brian Paul

[Piglit] [PATCH 2/4] add new texture swizzle API test

2014-04-24 Thread Brian Paul
LE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + * DEALINGS IN THE SOFTWARE. + */ + +/* + * Test GL_EXT_texture_swizzle API functions

Re: [Piglit] [PATCH] textureGather: Avoid variable length arrays.

2014-04-28 Thread Brian Paul
C_DRAW); + free(v); } else { static const float verts[] = { Reviewed-by: Brian Paul ___ Piglit mailing list Piglit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/piglit

Re: [Piglit] FW: [PATCH] fixed oes compressed etc2 texture miptree failure

2014-04-28 Thread Brian Paul
lViewport(0, 0, w, h); } My OS is win8. If piglit_width < 160, window manager will force it to 160. There was a similar issue a few years ago with Win7. I believe Brian Paul fixed this by modifying the framework to enforce a minimum window size depending on the operating system. It's b

[Piglit] [PATCH] util: use piglit_load_text_file() in piglit_compile_shader()

2014-04-28 Thread Brian Paul
The old code had a problem on MinGW. If the shader/text file had DOS-style \r\n line endings, fread() would convert them to Unix-style \n line endings. Since the actual number of chars read by fread() was less than the stat()'d size, we put the terminating '\0' in the wrong place, possibly after

Re: [Piglit] [PATCH] util: use piglit_load_text_file() in piglit_compile_shader()

2014-04-28 Thread Brian Paul
hich seems like a good idea even if it wasn't fixing any bugs. Jamey On Mon, Apr 28, 2014 at 2:13 PM, Brian Paul wrote: The old code had a problem on MinGW. If the shader/text file had DOS-style \r\n line endings, fread() would convert them to Unix-style \n line endings. Since the actual

[Piglit] [PATCH] util: use piglit_load_text_file() in piglit_compile_shader()

2014-04-28 Thread Brian Paul
The old code had a problem on MinGW. If the shader/text file had DOS-style \r\n line endings, fread() would convert them to Unix-style \n line endings. Since the actual number of chars read by fread() was less than the stat()'d size, we put the terminating '\0' in the wrong place, possibly after

[Piglit] [PATCH] fbo-depth: remove hard-coded BUF_SIZE, use piglit_probe_rect_depth()

2014-04-28 Thread Brian Paul
Instead of fixed BUF_SIZE use the current window size. Instead of hand-rolled depth buffer probing, use piglit_probe_rect_depth() --- tests/fbo/fbo-depth.c | 112 ++--- 1 file changed, 50 insertions(+), 62 deletions(-) diff --git a/tests/fbo/fbo-depth.

[Piglit] [PATCH] fbo: use default window size for fbo tests

2014-04-28 Thread Brian Paul
No regressions with NVIDIA's driver or llvmpipe. --- tests/fbo/fbo-alpha.c |2 -- tests/fbo/fbo-alphatest-formats.c |2 -- tests/fbo/fbo-blending-formats.c |2 -- tests/fbo/fbo-blit-d24s8.c |2 -- tests/fbo/fbo-blit.c |2

Re: [Piglit] FW: [PATCH] fixed oes compressed etc2 texture miptree failure

2014-04-29 Thread Brian Paul
win8. If piglit_width < 160, window manager will force it to 160. There was a similar issue a few years ago with Win7. I believe Brian Paul fixed this by modifying the framework to enforce a minimum window size depending on the operating system. It's better to fix this issue once for a

[Piglit] [PATCH 06/24] texgen: use default window size

2014-04-29 Thread Brian Paul
--- tests/general/texgen.c |2 -- 1 file changed, 2 deletions(-) diff --git a/tests/general/texgen.c b/tests/general/texgen.c index c087bbe..cb34710 100644 --- a/tests/general/texgen.c +++ b/tests/general/texgen.c @@ -32,8 +32,6 @@ PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl_comp

[Piglit] [PATCH 11/24] glsl-fs-texturecube: use default window size

2014-04-29 Thread Brian Paul
--- tests/shaders/glsl-fs-texturecube.c |2 -- 1 file changed, 2 deletions(-) diff --git a/tests/shaders/glsl-fs-texturecube.c b/tests/shaders/glsl-fs-texturecube.c index 103f984..afdeb37 100644 --- a/tests/shaders/glsl-fs-texturecube.c +++ b/tests/shaders/glsl-fs-texturecube.c @@ -36,8 +36,

[Piglit] [PATCH 07/24] texunits: use default window size

2014-04-29 Thread Brian Paul
--- tests/general/texunits.c |2 -- 1 file changed, 2 deletions(-) diff --git a/tests/general/texunits.c b/tests/general/texunits.c index 6eca7b5..8c9cf95 100644 --- a/tests/general/texunits.c +++ b/tests/general/texunits.c @@ -34,8 +34,6 @@ PIGLIT_GL_TEST_CONFIG_BEGIN config.suppor

[Piglit] [PATCH 12/24] vp-bad-program: use default window size

2014-04-29 Thread Brian Paul
--- tests/shaders/vp-bad-program.c |2 -- 1 file changed, 2 deletions(-) diff --git a/tests/shaders/vp-bad-program.c b/tests/shaders/vp-bad-program.c index bbfc7e3..4a4fefa 100644 --- a/tests/shaders/vp-bad-program.c +++ b/tests/shaders/vp-bad-program.c @@ -40,8 +40,6 @@ PIGLIT_GL_TEST_CONFIG

[Piglit] [PATCH 05/24] linestipple use default window size

2014-04-29 Thread Brian Paul
--- tests/general/linestipple.c |2 -- 1 file changed, 2 deletions(-) diff --git a/tests/general/linestipple.c b/tests/general/linestipple.c index 98ecf58..4e81585 100644 --- a/tests/general/linestipple.c +++ b/tests/general/linestipple.c @@ -32,8 +32,6 @@ PIGLIT_GL_TEST_CONFIG_BEGIN

[Piglit] [PATCH 10/24] ati-fs-bad-delete: use default window size

2014-04-29 Thread Brian Paul
--- tests/shaders/ati-fs-bad-delete.c |2 -- 1 file changed, 2 deletions(-) diff --git a/tests/shaders/ati-fs-bad-delete.c b/tests/shaders/ati-fs-bad-delete.c index e5d2e53..0cdef6a 100644 --- a/tests/shaders/ati-fs-bad-delete.c +++ b/tests/shaders/ati-fs-bad-delete.c @@ -38,8 +38,6 @@ PIGLI

[Piglit] [PATCH 13/24] incomplete-texture: use default window size

2014-04-29 Thread Brian Paul
--- tests/texturing/incomplete-texture.c |2 -- 1 file changed, 2 deletions(-) diff --git a/tests/texturing/incomplete-texture.c b/tests/texturing/incomplete-texture.c index 864aeb2..07fe568 100644 --- a/tests/texturing/incomplete-texture.c +++ b/tests/texturing/incomplete-texture.c @@ -35,8

[Piglit] [PATCH 15/24] tex-srgb: use default window size

2014-04-29 Thread Brian Paul
--- tests/texturing/tex-srgb.c |2 -- 1 file changed, 2 deletions(-) diff --git a/tests/texturing/tex-srgb.c b/tests/texturing/tex-srgb.c index e746d60..a47dc30 100644 --- a/tests/texturing/tex-srgb.c +++ b/tests/texturing/tex-srgb.c @@ -36,8 +36,6 @@ PIGLIT_GL_TEST_CONFIG_BEGIN con

[Piglit] [PATCH 02/24] tex3d-npot: assorted clean-ups

2014-04-29 Thread Brian Paul
As with the previous patch for the tex3d test. --- tests/texturing/tex3d-npot.c | 51 -- 1 file changed, 24 insertions(+), 27 deletions(-) diff --git a/tests/texturing/tex3d-npot.c b/tests/texturing/tex3d-npot.c index e9e4604..6911521 100644 --- a/tests/t

[Piglit] [PATCH 17/24] texredefine: use default window size

2014-04-29 Thread Brian Paul
--- tests/texturing/texredefine.c |2 -- 1 file changed, 2 deletions(-) diff --git a/tests/texturing/texredefine.c b/tests/texturing/texredefine.c index 8d48e6a..e9752a2 100644 --- a/tests/texturing/texredefine.c +++ b/tests/texturing/texredefine.c @@ -35,8 +35,6 @@ PIGLIT_GL_TEST_CONFIG_BEGI

[Piglit] [PATCH 09/24] varray-disabled: use default window size

2014-04-29 Thread Brian Paul
--- tests/general/varray-disabled.c |2 -- 1 file changed, 2 deletions(-) diff --git a/tests/general/varray-disabled.c b/tests/general/varray-disabled.c index bb7e0fb..152cdc4 100644 --- a/tests/general/varray-disabled.c +++ b/tests/general/varray-disabled.c @@ -40,8 +40,6 @@ PIGLIT_GL_TEST_C

[Piglit] [PATCH 21/24] fbo-drawbuffers: use default window size

2014-04-29 Thread Brian Paul
--- tests/fbo/fbo-drawbuffers.c |2 -- 1 file changed, 2 deletions(-) diff --git a/tests/fbo/fbo-drawbuffers.c b/tests/fbo/fbo-drawbuffers.c index d092b4a..1fdc2a8 100644 --- a/tests/fbo/fbo-drawbuffers.c +++ b/tests/fbo/fbo-drawbuffers.c @@ -37,8 +37,6 @@ PIGLIT_GL_TEST_CONFIG_BEGIN

[Piglit] [PATCH 24/24] point-line-no-cull: use default window size

2014-04-29 Thread Brian Paul
--- tests/general/point-line-no-cull.c |2 -- 1 file changed, 2 deletions(-) diff --git a/tests/general/point-line-no-cull.c b/tests/general/point-line-no-cull.c index 027d5f8..5a13a55 100644 --- a/tests/general/point-line-no-cull.c +++ b/tests/general/point-line-no-cull.c @@ -36,8 +36,6 @@

[Piglit] [PATCH 03/24] early-z: use default window size

2014-04-29 Thread Brian Paul
--- tests/general/early-z.c |2 -- 1 file changed, 2 deletions(-) diff --git a/tests/general/early-z.c b/tests/general/early-z.c index 986b82a..9f4b611 100644 --- a/tests/general/early-z.c +++ b/tests/general/early-z.c @@ -33,8 +33,6 @@ PIGLIT_GL_TEST_CONFIG_BEGIN config.supports_gl

[Piglit] [PATCH 22/24] timer_query: use default window size

2014-04-29 Thread Brian Paul
--- tests/general/timer_query.c |2 -- 1 file changed, 2 deletions(-) diff --git a/tests/general/timer_query.c b/tests/general/timer_query.c index f6aedeb..44b6a65 100644 --- a/tests/general/timer_query.c +++ b/tests/general/timer_query.c @@ -37,8 +37,6 @@ PIGLIT_GL_TEST_CONFIG_BEGIN

[Piglit] [PATCH 16/24] tex3d-maxsize: use default window size

2014-04-29 Thread Brian Paul
--- tests/texturing/tex3d-maxsize.c |2 -- 1 file changed, 2 deletions(-) diff --git a/tests/texturing/tex3d-maxsize.c b/tests/texturing/tex3d-maxsize.c index 9edc6ed..06af1c4 100644 --- a/tests/texturing/tex3d-maxsize.c +++ b/tests/texturing/tex3d-maxsize.c @@ -32,8 +32,6 @@ PIGLIT_GL_TEST_C

[Piglit] [PATCH 01/24] tex3d: assorted clean-ups

2014-04-29 Thread Brian Paul
Don't call piglit_report_result() - return result from piglit_display(). Use default window size and fix "row wrapping" to avoid drawing off the edge of the window. Use bool instead of int. Use piglit_get_gl_enum_name(). Use GLubyte instead of unsigned char. Set texture env mode to replace. --- te

[Piglit] [PATCH 14/24] proxy-texture: use default window size

2014-04-29 Thread Brian Paul
--- tests/texturing/proxy-texture.c |2 -- 1 file changed, 2 deletions(-) diff --git a/tests/texturing/proxy-texture.c b/tests/texturing/proxy-texture.c index 536..5301709 100644 --- a/tests/texturing/proxy-texture.c +++ b/tests/texturing/proxy-texture.c @@ -33,8 +33,6 @@ PIGLIT_GL_TEST_C

[Piglit] [PATCH 04/24] framebuffer-srgb: use default window size

2014-04-29 Thread Brian Paul
--- tests/general/framebuffer-srgb.c |2 -- 1 file changed, 2 deletions(-) diff --git a/tests/general/framebuffer-srgb.c b/tests/general/framebuffer-srgb.c index 39bb1b0..3cf50a6 100644 --- a/tests/general/framebuffer-srgb.c +++ b/tests/general/framebuffer-srgb.c @@ -38,8 +38,6 @@ PIGLIT_GL_T

[Piglit] [PATCH 08/24] quad-invariance: use default window size

2014-04-29 Thread Brian Paul
--- tests/general/quad-invariance.c |2 -- 1 file changed, 2 deletions(-) diff --git a/tests/general/quad-invariance.c b/tests/general/quad-invariance.c index 10b4a25..ce7e48c 100644 --- a/tests/general/quad-invariance.c +++ b/tests/general/quad-invariance.c @@ -42,8 +42,6 @@ PIGLIT_GL_TEST_C

[Piglit] [PATCH 19/24] fragment-and-vertex-texturing: use default window size

2014-04-29 Thread Brian Paul
--- tests/texturing/fragment-and-vertex-texturing.c |2 -- 1 file changed, 2 deletions(-) diff --git a/tests/texturing/fragment-and-vertex-texturing.c b/tests/texturing/fragment-and-vertex-texturing.c index adc1f34..0ffe25a 100644 --- a/tests/texturing/fragment-and-vertex-texturing.c +++ b/t

[Piglit] [PATCH 18/24] texture-rg: use default window size

2014-04-29 Thread Brian Paul
--- tests/texturing/texture-rg.c |2 -- 1 file changed, 2 deletions(-) diff --git a/tests/texturing/texture-rg.c b/tests/texturing/texture-rg.c index b040335..80d6f88 100644 --- a/tests/texturing/texture-rg.c +++ b/tests/texturing/texture-rg.c @@ -33,8 +33,6 @@ PIGLIT_GL_TEST_CONFIG_BEGIN

[Piglit] [PATCH 20/24] texture-al: use default window size

2014-04-29 Thread Brian Paul
--- tests/texturing/texture-al.c |2 -- 1 file changed, 2 deletions(-) diff --git a/tests/texturing/texture-al.c b/tests/texturing/texture-al.c index ab81f63..d33bb6b 100644 --- a/tests/texturing/texture-al.c +++ b/tests/texturing/texture-al.c @@ -35,8 +35,6 @@ PIGLIT_GL_TEST_CONFIG_BEGIN

[Piglit] [PATCH 23/24] texsubimage: use default window size

2014-04-29 Thread Brian Paul
--- tests/texturing/texsubimage.c |2 -- 1 file changed, 2 deletions(-) diff --git a/tests/texturing/texsubimage.c b/tests/texturing/texsubimage.c index 9b9c3e4..fec9aa4 100644 --- a/tests/texturing/texsubimage.c +++ b/tests/texturing/texsubimage.c @@ -39,8 +39,6 @@ PIGLIT_GL_TEST_CONFIG_BEGI

Re: [Piglit] [PATCH 01/24] tex3d: assorted clean-ups

2014-04-29 Thread Brian Paul
On 04/29/2014 12:05 PM, Jose Fonseca wrote: - Original Message - Don't call piglit_report_result() - return result from piglit_display(). Use default window size and fix "row wrapping" to avoid drawing off the edge of the window. Use bool instead of int. Use piglit_get_gl_enum_name().

Re: [Piglit] [PATCH 1/9] cmake: Fix -Wdeclaration-after-statement detection.

2014-04-29 Thread Brian Paul
ion-after-statement") ENDIF (C_COMPILER_FLAG_WDECL_AFTER_STMT) The series LGTM. Reviewed-by: Brian Paul ___ Piglit mailing list Piglit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/piglit

Re: [Piglit] FW: [PATCH] fixed oes compressed etc2 texture miptree failure

2014-04-30 Thread Brian Paul
report_result(PIGLIT_WARN); } piglit_width = w; piglit_height = h; glViewport(0, 0, w, h); } My OS is win8. If piglit_width < 160, window manager will force it to 160. There was a similar issue a few years ago with Win7. I believe Brian Paul fixed this by mod

Re: [Piglit] [PATCH] fixed-oes_compressed_etc2_texture-miptree-failure

2014-05-01 Thread Brian Paul
I still haven't committed the patch to change the default window size to 160x160. I want to do a few test runs to make sure there's no regressions. But on my two attempts with nvidia's driver I've had a system crash and an X server hang. Ugh. I wonder if anyone at nvidia tests piglit. I'm

[Piglit] [PATCH 4/4] util: change default window size to 160 x 160

2014-05-02 Thread Brian Paul
To avoid "Got spurious window resize" warnings and SKIP result on Windows 8. A while back we had changed the default window size for Windows 7. --- tests/util/piglit-framework-gl.h |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/util/piglit-framework-gl.h b/tests/

[Piglit] [PATCH 3/4] glsl-1.50/execution/geometry: fix pixel probing for arbitrary window size

2014-05-02 Thread Brian Paul
Probe a neighborhood of pixels to avoid missing the pixel in question. --- ...ometry-end-primitive-optional-with-points-out.c | 49 1 file changed, 40 insertions(+), 9 deletions(-) diff --git a/tests/spec/glsl-1.50/execution/geometry/geometry-end-primitive-optional-with-po

[Piglit] [PATCH 1/4] arb_seamless_cube_map/three-faces-average: remove hard-coded window/probe coords

2014-05-02 Thread Brian Paul
Previously, the test would only pass with 150 x 150 window size. --- tests/spec/arb_seamless_cube_map/three-faces-average.c |8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/spec/arb_seamless_cube_map/three-faces-average.c b/tests/spec/arb_seamless_cube_map/thre

[Piglit] [PATCH 2/4] arb_viewport_array-render_scissor: fix probing for any window size

2014-05-02 Thread Brian Paul
The float->int conversion can be sketchy for various window sizes. Simply probe a slightly smaller rect region. --- tests/spec/arb_viewport_array/render_scissor.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/spec/arb_viewport_array/render_scissor.c b/tests/spec

[Piglit] [PATCH] etc1/etc2: move glViewport call to piglit_display(), use default window size

2014-05-05 Thread Brian Paul
The initial version of this was suggested by Johney Guo. --- tests/spec/gles-3.0/oes_compressed_etc2_texture-miptree.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/spec/gles-3.0/oes_compressed_etc2_texture-miptree.c b/tests/spec/gles-3.0/oes_compressed_etc2_te

Re: [Piglit] [PATCH] fixed-oes_compressed_etc2_texture-miptree-failure

2014-05-05 Thread Brian Paul
ize changes, I think glViewport() should be fixed > firstly. > If applying glViewport() call in display() function, this test will not rely > on default window size. > > > Thanks. > -Original Message- > From: Piglit [mailto:piglit-boun...@lists.freedesktop.org]

Re: [Piglit] [PATCH 4/4] util: change default window size to 160 x 160

2014-05-07 Thread Brian Paul
On 05/07/2014 05:27 AM, Daniel Vetter wrote: On Fri, May 02, 2014 at 03:53:48PM -0600, Brian Paul wrote: To avoid "Got spurious window resize" warnings and SKIP result on Windows 8. A while back we had changed the default window size for Windows 7. --- tests/util/piglit-framework-g

[Piglit] piglit-run.py changed?

2014-05-07 Thread Brian Paul
I know there have been recent changes to the piglit python scripts but I haven't been following them too closely. It seems that piglit-run.py has changed in some way and I don't understand what I'm supposed to do. The following command is typical of what I'd run in the past, and it seems to

Re: [Piglit] piglit-run.py changed?

2014-05-07 Thread Brian Paul
On 05/07/2014 12:15 PM, Jordan Justen wrote: On Wed, May 7, 2014 at 8:27 AM, Ilia Mirkin wrote: On Wed, May 7, 2014 at 11:22 AM, Brian Paul wrote: I know there have been recent changes to the piglit python scripts but I haven't been following them too closely. It seems that piglit-r

Re: [Piglit] [PATCH] util: Add include guards in piglit-log.h.

2014-05-08 Thread Brian Paul
extern "C" */ #endif + +#endif /* PIGLIT_LOG_H */ Reviewed-by: Brian Paul ___ Piglit mailing list Piglit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/piglit

[Piglit] [PATCH 13/21] arb_multisample: use default window size

2014-05-08 Thread Brian Paul
--- tests/spec/arb_multisample/beginend.c |2 -- tests/spec/arb_multisample/pushpop.c |2 -- 2 files changed, 4 deletions(-) diff --git a/tests/spec/arb_multisample/beginend.c b/tests/spec/arb_multisample/beginend.c index 69a4298..fed9e17 100644 --- a/tests/spec/arb_multisample/beginend

[Piglit] [PATCH 02/21] ext_framebuffer_multisample: use default window size

2014-05-08 Thread Brian Paul
--- tests/spec/ext_framebuffer_multisample/dlist.c |2 -- tests/spec/ext_framebuffer_multisample/minmax.c |2 -- tests/spec/ext_framebuffer_multisample/negative-copypixels.c |2 -- tests/spec/ext_framebuffer_multisample/negative-copyte

[Piglit] [PATCH 04/21] ext_transform_feedback: use default window size

2014-05-08 Thread Brian Paul
--- tests/spec/ext_transform_feedback/builtin-varyings.c |2 -- tests/spec/ext_transform_feedback/discard-api.c|2 -- tests/spec/ext_transform_feedback/discard-bitmap.c |2 -- tests/spec/ext_transform_feedback/discard-clear.c |2 -- tests/spec/ext_transform_feedb

[Piglit] [PATCH 03/21] arb_texture_buffer_object: use default window size

2014-05-08 Thread Brian Paul
--- tests/spec/arb_texture_buffer_object/dlist.c |2 -- tests/spec/arb_texture_buffer_object/get.c |2 -- tests/spec/arb_texture_buffer_object/minmax.c |2 -- tests/spec/arb_texture_buffer_object/negative-bad-bo.c |2 -- tests/spec/arb

[Piglit] [PATCH 09/21] arb_draw_instanced: use default window size

2014-05-08 Thread Brian Paul
--- tests/spec/arb_draw_instanced/execution/dlist.c |2 -- .../arb_draw_instanced/execution/negative-arrays-first-negative.c|2 -- tests/spec/arb_draw_instanced/execution/negative-elements-type.c |2 -- 3 files changed, 6 deletions(-) diff --git a/tests/sp

[Piglit] [PATCH 19/21] gl-2.1: use default window size

2014-05-08 Thread Brian Paul
--- tests/spec/gl-2.1/minmax.c |2 -- 1 file changed, 2 deletions(-) diff --git a/tests/spec/gl-2.1/minmax.c b/tests/spec/gl-2.1/minmax.c index 8cd75f9..e495770 100644 --- a/tests/spec/gl-2.1/minmax.c +++ b/tests/spec/gl-2.1/minmax.c @@ -33,8 +33,6 @@ PIGLIT_GL_TEST_CONFIG_BEGIN con

[Piglit] [PATCH 11/21] arb_fragment_program: use default window size

2014-05-08 Thread Brian Paul
--- tests/spec/arb_fragment_program/minmax.c |2 -- 1 file changed, 2 deletions(-) diff --git a/tests/spec/arb_fragment_program/minmax.c b/tests/spec/arb_fragment_program/minmax.c index ad0109f..4150fb1 100644 --- a/tests/spec/arb_fragment_program/minmax.c +++ b/tests/spec/arb_fragment_progr

[Piglit] [PATCH 16/21] arb_vertex_array_object: use default window size

2014-05-08 Thread Brian Paul
--- tests/spec/arb_vertex_array_object/isvertexarray.c |3 --- 1 file changed, 3 deletions(-) diff --git a/tests/spec/arb_vertex_array_object/isvertexarray.c b/tests/spec/arb_vertex_array_object/isvertexarray.c index efe7aba..0505eba 100644 --- a/tests/spec/arb_vertex_array_object/isvertexar

<    1   2   3   4   5   6   7   8   9   10   >