[Piglit] [PATCH] arb_clear_texture-simple: remove glDeleteTextures()

2015-07-23 Thread Brian Paul
If the piglit_display() function was called more than once, we'd try use deleted textures and generate a bunch of GL errors. --- tests/spec/arb_clear_texture/simple.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/spec/arb_clear_texture/simple.c b/tests/spec/arb_clear_texture/simple.c

[Piglit] [PATCH] arb_sampler_objects: use piglit_check_gl_error()

2015-07-23 Thread Brian Paul
Instead of a local helper function. --- tests/spec/arb_sampler_objects/sampler-objects.c | 20 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/tests/spec/arb_sampler_objects/sampler-objects.c b/tests/spec/arb_sampler_objects/sampler-objects.c index

Re: [Piglit] [PATCH] arb_get_texture_sub_image: new tests for GL_ARB_get_texture_sub_image

2015-07-23 Thread Jose Fonseca
On 22/07/15 18:25, Brian Paul wrote: errors.c - test error detection get.c - test glGetTextureSubImage getcompressed.c - test glGetCompressedTextureSubImage cubemap.c - extra tests for getting cubemap images v2: move guts of the tests from piglit_display() to piglit_init(), test cube map

Re: [Piglit] [PATCH] Test interpolateAtSample with dynamically nonuniform values

2015-07-23 Thread Dave Airlie
On 24 July 2015 at 02:00, Neil Roberts n...@linux.intel.com wrote: Adds a test which is similar to interpolateAtSample-different except that it draws a triangle which covers more than one fragment and makes sure to use a different sample ID for each fragment so that it won't be dynamically

Re: [Piglit] [PATCH 0/5] Python 3 port, again

2015-07-23 Thread Dylan Baker
On Fri, Jul 17, 2015 at 03:57:59PM +0100, Jose Fonseca wrote: Python3 will definitely bring challenges to us. It's no problem for our personal development systems, but there are several systems which still only have python 2.x -- (systems we want to run or build piglit.) I wonder it

[Piglit] [PATCH] Test interpolateAtSample with dynamically nonuniform values

2015-07-23 Thread Neil Roberts
Adds a test which is similar to interpolateAtSample-different except that it draws a triangle which covers more than one fragment and makes sure to use a different sample ID for each fragment so that it won't be dynamically uniform. The GLSL spec doesn't mention that the sample ID has to be

Re: [Piglit] [PATCH] Add meaner swizzle-swizzle-lhs tests.

2015-07-23 Thread Timothy Arceri
On Wed, 2015-07-22 at 21:39 -0700, Kenneth Graunke wrote: Mesa's compiler happened to handle .xzy.z correctly, while .xy.x and other combinations were broken. Try that and a triply-nested one. Cc: i...@freedesktop.org Signed-off-by: Kenneth Graunke kenn...@whitecape.org ---