[Piglit] [PATCH] shaders: add test for bool casting of large integers.

2013-10-07 Thread Dave Airlie
From: Dave Airlie I noticed the TGSI convertor just does INEG then AND 0x3f80, which works for small values, but fails for larger ints. This seems to fail on nvidia (4.3.0 NVIDIA 325.15) and on ironlake with mesa 9.2. Signed-off-by: Dave Airlie --- tests/shaders/glsl-fs-i2b-large

Re: [Piglit] [PATCH] shaders: add test for bool casting of large integers.

2013-10-08 Thread Dave Airlie
On Wed, Oct 9, 2013 at 2:30 AM, Ian Romanick wrote: > On 10/07/2013 04:22 PM, Dave Airlie wrote: >> From: Dave Airlie >> >> I noticed the TGSI convertor just does INEG then AND 0x3f80, which works >> for small values, but fails for larger ints. >> >&

[Piglit] [PATCH] textureGather: add textureGatherOffsets to execution test (v2)

2014-02-09 Thread Dave Airlie
From: Dave Airlie Test for checking textureGatherOffsets from ARB_gpu_shader5 works, this is tested on the nvidia binary driver and passes. also add to all.py. Cc: Chris Forbes Signed-off-by: Dave Airlie --- tests/all.py| 8 ++-- tests/texturing/shaders

[Piglit] [PATCH] textureGather: add textureGatherOffsets to execution test (v2.1)

2014-02-09 Thread Dave Airlie
From: Dave Airlie Test for checking textureGatherOffsets from ARB_gpu_shader5 works, this is tested on the nvidia binary driver and passes. also add to all.py. v2.1 fix VS bits + whitespace Cc: Chris Forbes Signed-off-by: Dave Airlie --- tests/all.py| 8

Re: [Piglit] Convert from python2 to python3

2014-02-25 Thread Dave Airlie
On Wed, Feb 26, 2014 at 6:36 AM, Dylan Baker wrote: > On Tuesday, February 25, 2014 02:01:56 PM Ken Phillis Jr wrote: >> On Mon, Feb 24, 2014 at 9:10 PM, Matt Turner wrote: >> > On Mon, Feb 24, 2014 at 11:47 AM, Ilia Mirkin > wrote: >> >> On Mon, Feb 24, 2014 at 2:42 PM, Dylan Baker > wrote: >>

[Piglit] [PATCH] glsl-1.30: test modf

2014-07-07 Thread Dave Airlie
From: Dave Airlie The generated tests don't test this due to its unusual output nature, and we had no other tests that I could find for it. So plug that hole. I just handcoded up this batch of tests in the same style as generated ones. Signed-off-by: Dave Airlie --- .../glsl-1.30/exec

[Piglit] [PATCH 4/6] arb_gpu_shader_fp64: add frexp/ldexp tests

2014-07-23 Thread Dave Airlie
From: Dave Airlie These are special cases the generator can't handle, ported from the float equivalents with DBL special cases. Signed-off-by: Dave Airlie --- .../built-in-functions/fs-frexp-dvec4.shader_test | 72 ++ .../built-in-functions/fs-ldexp-dvec4.shader_test

[Piglit] [PATCH 5/6] arb_gpu_shader_fp64: add double modf test.

2014-07-23 Thread Dave Airlie
From: Dave Airlie This tests modf with doubles. Signed-off-by: Dave Airlie --- .../built-in-functions/fs-modf-double.shader_test | 47 ++ 1 file changed, 47 insertions(+) create mode 100644 tests/spec/arb_gpu_shader_fp64/execution/built-in-functions/fs-modf

[Piglit] [PATCH 2/6] arb_gpu_shader_fp64: add packDouble2x32 and unpackDouble2x32 tests

2014-07-23 Thread Dave Airlie
From: Dave Airlie Simple tests to make sure the packing is correct. Signed-off-by: Dave Airlie --- .../fs-packDouble2x32.shader_test | 50 ++ .../fs-unpackDouble2x32.shader_test| 50 ++ 2 files changed, 100 insertions

[Piglit] [PATCH 6/6] all.tests: add arb_gpu_shader_fp64 dir

2014-07-23 Thread Dave Airlie
From: Dave Airlie --- tests/all.py | 6 ++ 1 file changed, 6 insertions(+) diff --git a/tests/all.py b/tests/all.py index d8ce2f9..7418799 100644 --- a/tests/all.py +++ b/tests/all.py @@ -1864,6 +1864,12 @@ add_concurrent_test(arb_gpu_shader5, 'arb_gpu_shader5-invocati

[Piglit] [PATCH 3/6] arb_gpu_shader_fp64: add a truncate DBL_MAX test

2014-07-23 Thread Dave Airlie
From: Dave Airlie This just tests that trunc doesn't go via a float conversion like I was doing when I wrote it originally. Signed-off-by: Dave Airlie --- .../fs-trunc-double-large.shader_test | 39 ++ 1 file changed, 39 insertions(+) create mode 1

[Piglit] ideas for shader_runner subtesting

2014-08-03 Thread Dave Airlie
Hi, so I've written the FP64 test generator that spits out a test for GLSL 1.50 + GL_ARB_gpu_shader_fp64 but also spits out the same tests for GLSL 4.00 This in theory should make sure that when we do GLSL 4.00 that we have tests for that path as well. Now I'm sure ARB_gpu_shader5 also has a bunc

Re: [Piglit] [PATCH v2] arb_gpu_shader_fp64: add vs input and fs output tests

2014-08-10 Thread Dave Airlie
Reviewed-by: Dave Airlie On 9 August 2014 10:27, Chris Forbes wrote: > Reviewed-by: Chris Forbes > > On Sat, Aug 9, 2014 at 1:04 AM, Tapani Pälli wrote: >> Both of these tests are expected to fail as double cannot >> be used as vs input or fs output. >> >> v

Re: [Piglit] [PATCH v2] arb_gpu_shader_fp64: add preprocessor define tests

2014-08-10 Thread Dave Airlie
Reviewed-by: Dave Airlie On 8 August 2014 20:20, Tapani Pälli wrote: > v2: import tests in tests/all.py > > Signed-off-by: Tapani Pälli > --- > tests/all.py | 3 +++ > .../spec/arb_gpu_shader_fp64/preprocesso

[Piglit] [PATCH] arb_gpu_shader_fp64: test Uniform*d can't be used for bool uniforms

2014-08-24 Thread Dave Airlie
From: Dave Airlie The fp64 spec doesn't allow bool uniforms to be initialised with doubles. Signed-off-by: Dave Airlie --- tests/spec/CMakeLists.txt | 1 + tests/spec/arb_gpu_shader_fp64/CMakeLists.gl.txt | 12 +++ tests/spec/arb_gpu_shader_fp64/CMakeList

Re: [Piglit] [PATCH 2/3] arb_gpu_shader_fp64: add tests for builtin functions

2014-08-24 Thread Dave Airlie
On 20 August 2014 22:36, Tapani Pälli wrote: > These tests go through the builtins with goal of testing constant > expression support for the double type. The generator creates a bunch of compiler level tests for these already, I also wonder if we require shader_runner level tests whether we sho

Re: [Piglit] [PATCH 3/3] arb_gpu_shader_fp64: test vector insert and extract operations

2014-08-24 Thread Dave Airlie
On 20 August 2014 22:36, Tapani Pälli wrote: > Signed-off-by: Tapani Pälli Reviewed-by: Dave Airlie ___ Piglit mailing list Piglit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/piglit

Re: [Piglit] [PATCH] arb_gpu_shader_fp64: test constructor conversions with matrix

2014-08-24 Thread Dave Airlie
On 22 August 2014 18:08, Tapani Pälli wrote: > Signed-off-by: Tapani Pälli These seems fine, Reviewed-by: Dave Airlie ___ Piglit mailing list Piglit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/piglit

Re: [Piglit] [PATCH 2/3] arb_gpu_shader_fp64: add tests for builtin functions

2014-08-25 Thread Dave Airlie
On 25 August 2014 14:29, Tapani wrote: > On 08/25/2014 05:14 AM, Dave Airlie wrote: >> >> On 20 August 2014 22:36, Tapani Pälli wrote: >>> >>> These tests go through the builtins with goal of testing constant >>> expression support for the double ty

[Piglit] running piglit on ppc64 be against llvmpipe

2014-09-15 Thread Dave Airlie
There is probably some python problem, but when I run piglit master on RHEL7.0 on ppc64 big-endian, the run script seems to get very confused [0/15338] Running Test(s): 0 1 2 3 4 5 6 7 8 9 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 0002

[Piglit] ./piglit-run.py --help

2014-09-15 Thread Dave Airlie
didn't that use to print something useful, well it doesn't anymore. Dave. ___ Piglit mailing list Piglit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/piglit

Re: [Piglit] running piglit on ppc64 be against llvmpipe

2014-09-15 Thread Dave Airlie
>> [0/15338] Running Test(s): 0 1 2 3 4 5 >> 6 7 8 9 00010 00011 00012 00013 00014 00015 00016 >> 00017 00018 00019 00020 00021 00022 00023 00024 00025 00026 00027 >> 00028 00029 00030 00031 00032 00033 00034 00035 [1/15338] fail: 1 >> Running Test(s

Re: [Piglit] [PATCH] framework/programs/run.py: fix help message generation

2014-09-18 Thread Dave Airlie
Thanks, Reviewed-by: Dave Airlie On 17 September 2014 06:44, Dylan Baker wrote: > In commit 78628572 the argument parser for piglit run and piglit-run.py > were split into two parsers to allow piglit.conf to be loaded before any > additional parsing was done. This had the uninte

Re: [Piglit] [PATCH] cmake: bump cmake requirement to 2.8.11

2014-09-29 Thread Dave Airlie
On 30 September 2014 10:23, Emil Velikov wrote: > Thanks Dylan, I knew I forgot a distro from the list :) > > Brian, Dave > I am a bit concerned the RH & VMWare teams. Is bumping cmake to 2.8.11 > going to cause any headaches for you guys. Perhaps I'm worrying too much ? The two places its a pain

Re: [Piglit] [PATCH 2/2] results.py: Allow partially completed runs to be summarized

2014-11-15 Thread Dave Airlie
On 14 November 2014 09:26, Dylan Baker wrote: > This restores the ability to create a summary from a partial set of > runs by using the same functionality as resume. > > Signed-off-by: Dylan Baker > cc: airl...@gmail.com Tested-by: Dave Airlie wfm, please push! > --- >

Re: [Piglit] [PATCH] glsl-1.10: check that mul source is used before dest is written

2014-11-16 Thread Dave Airlie
just to repeat from irc, [vertex shader passthrough] and probably call the test fs-. With those two, Reviewed-by: Dave Airlie On 17 November 2014 08:21, Ilia Mirkin wrote: > r600 (currently) has a bug on cayman because each component is > multiplied separately when constants are use

[Piglit] [PATCH] vbo parser: add double support to parser code.

2014-12-07 Thread Dave Airlie
From: Dave Airlie This just adds support for the ARB_vertex_attrib_64bit interface. Signed-off-by: Dave Airlie --- tests/util/piglit-vbo.cpp | 39 +-- 1 file changed, 33 insertions(+), 6 deletions(-) diff --git a/tests/util/piglit-vbo.cpp b/tests/util

Re: [Piglit] [PATCH 3/4] utils: add initial WAFFLE_WGL support

2014-12-15 Thread Dave Airlie
On 16 December 2014 at 07:57, Emil Velikov wrote: > On 15/12/14 20:56, Jason Ekstrand wrote: >> >> >> On Fri, Nov 21, 2014 at 11:52 AM, Emil Velikov > > wrote: >> >> This will allow us to use waffle with its upcoming WGL support for >> Windows. With that do

Re: [Piglit] [PATCH] Add tests for arb_cull_distance

2015-01-16 Thread Dave Airlie
o me, do they pass against any of the other GL implementations of this (does anyone have one apart from nvidia beta?) The only thing I haven't done is check what other tests you should do for this extension, probably more execution tests are needed, but I'm not sur

Re: [Piglit] [PATCH] shader_runner: fix parsing float/double hex values

2015-02-10 Thread Dave Airlie
l. > > Signed-off-by: Ilia Mirkin Reviewed-by: Dave Airlie ___ Piglit mailing list Piglit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/piglit

Re: [Piglit] [PATCH] shader_runner: fix dvec ubo uploads

2015-02-10 Thread Dave Airlie
Reviewed-by: Dave Airlie On 10 February 2015 at 10:40, Ilia Mirkin wrote: > The number of elements is at index 4, not 3 (like in vec) > > Signed-off-by: Ilia Mirkin > --- > tests/shaders/shader_runner.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > di

Re: [Piglit] [PATCH 1/3] arb_gpu_shader_fp64: add glsl algebraic tests

2015-02-11 Thread Dave Airlie
On 21 August 2014 at 22:55, Tapani wrote: > On 08/21/2014 03:50 PM, Ilia Mirkin wrote: >> >> On Thu, Aug 21, 2014 at 1:00 AM, Tapani wrote: >>> >>> On 08/21/2014 07:21 AM, Chris Forbes wrote: With that fixed, does it pass on fglrx? >>> >>> >>> I can only try that tomorrow but I believe

[Piglit] [PATCH] fp64: test passing a double from vs->fs

2015-02-19 Thread Dave Airlie
From: Dave Airlie We have a test passing a dvec4 from vs->fs that passes, this test passing a single double, it currently falls over an assert in varying packing. Signed-off-by: Dave Airlie --- .../execution/vs-out-fs-in-double-2.shader_test| 45 ++ 1 file changed,

[Piglit] [PATCH] piglit/vbo: fix attribute size for doubles.

2015-02-20 Thread Dave Airlie
From: Dave Airlie This is required for 64-bit attribs. Signed-off-by: Dave Airlie --- tests/util/piglit-vbo.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/util/piglit-vbo.cpp b/tests/util/piglit-vbo.cpp index 506533a..6453d40 100644 --- a/tests/util/piglit

Re: [Piglit] [PATCH] varying-packing: add double support

2015-02-20 Thread Dave Airlie
On 20 February 2015 at 20:13, Ilia Mirkin wrote: > Signed-off-by: Ilia Mirkin Looks good to me, did you mean to reindent or respace the types stuff? makes it harder to see what this patch adds. Otherwise, Reviewed-by: Dave Airlie > --- > tes

Re: [Piglit] [PATCH] varying-packing: add double support

2015-02-20 Thread Dave Airlie
On 21 February 2015 at 08:56, Ilia Mirkin wrote: > On Fri, Feb 20, 2015 at 5:55 PM, Dave Airlie wrote: >> On 20 February 2015 at 20:13, Ilia Mirkin wrote: >>> Signed-off-by: Ilia Mirkin >> >> Looks good to me, did you mean to reindent or respace the types stuff?

[Piglit] [rfc/rft] transform feedback doubles test

2015-02-22 Thread Dave Airlie
Just sending this out now, I haven't verified it on anything as I don't have easy access to the binary drivers currently. It fails on mesa I need to work out if its the test or mesa now. Dave. ___ Piglit mailing list Piglit@lists.freedesktop.org http://l

[Piglit] [PATCH 1/2] piglit/util: add support for probing doubles in a buffer.

2015-02-22 Thread Dave Airlie
From: Dave Airlie This is needed to test transform feedback with FP64. Signed-off-by: Dave Airlie --- tests/util/piglit-util-gl.c | 23 +++ tests/util/piglit-util-gl.h | 4 +++- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/tests/util/piglit-util-gl.c b

[Piglit] [PATCH 2/2] fp64: add separate transform feedback test.

2015-02-22 Thread Dave Airlie
From: Dave Airlie Based on the current EXT_transform_feedback/separate.c test this just adds some doubles to the mix. Signed-off-by: Dave Airlie --- tests/spec/arb_gpu_shader_fp64/CMakeLists.txt | 1 + .../execution/CMakeLists.gl.txt| 13 ++ .../arb_gpu_shader_fp64

[Piglit] [PATCH] fp64: check GetTransformFeedbackVaryings returns the correct types

2015-02-22 Thread Dave Airlie
From: Dave Airlie This just tests we get back the correct GL types from the query. This passes on mesa currently. Signed-off-by: Dave Airlie --- .../execution/CMakeLists.gl.txt| 1 + .../execution/double-gettransformfeedbackvarying.c | 133 + 2 files

[Piglit] [PATCH] fp64: add test for aligning doubles in transform feedback

2015-02-22 Thread Dave Airlie
From: Dave Airlie The spec states we must manually align using ARB_transform_feedback3 skips if necessary, so test that works by forcing a double after a float + a skip. Signed-off-by: Dave Airlie --- .../execution/CMakeLists.gl.txt| 2 + .../execution/tf-interleaved

[Piglit] [PATCH 3/3] arb_vertex_attrib_64bit: pass a 64-bit vertex attrib through to frag shader

2015-02-23 Thread Dave Airlie
From: Dave Airlie Check the double value unpacks cleanly in the fragment shader. Signed-off-by: Dave Airlie --- vs-fs-pass-vertex-attrib.shader_test | 50 1 file changed, 50 insertions(+) create mode 100644 vs-fs-pass-vertex-attrib.shader_test diff --git

[Piglit] GL_ARB_vertex_attrib_64bit initial tests

2015-02-23 Thread Dave Airlie
These are just some initial vertex attrib 64-bit tests. the pass on my mesa tree with this extension and fixes in it. Dave. ___ Piglit mailing list Piglit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/piglit

[Piglit] [PATCH] arb_transform_feedback3: test another skip/next buffer combo

2015-03-18 Thread Dave Airlie
While developing virgl I found this combo wasn't tested by any of the current tests, emit, skip, next buffer, emit. Just add a test to this to exercise the codepath. Signed-off-by: Dave Airlie --- tests/all.py| 2 +- tests/spec/ext_transform_feedback/o

Re: [Piglit] [PATCH] glsl-1.20: add test to tickle copy propagation bug in st/mesa

2015-03-25 Thread Dave Airlie
registry/webgl/conformance-suites/1.0.2/conformance/ogles/GL/functions/array_float_frag.frag > > Signed-off-by: Ilia Mirkin Reviewed-by: Dave Airlie ___ Piglit mailing list Piglit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/piglit

[Piglit] [PATCH] generator: clear before rendering with the builtin tests

2015-03-26 Thread Dave Airlie
From: Dave Airlie Otherwise there is a chance you'll get the contents from the last test which are green, and if this test fails to renderer you'll pass. Signed-off-by: Dave Airlie --- generated_tests/gen_builtin_uniform_tests.py | 2 ++ generated_tests/gen_builtin_uniform_tes

[Piglit] [PATCH 1/2] arb_texture_stencil8: add initial texture interface test

2015-04-04 Thread Dave Airlie
this just checks the basic API works, and that 3D is rejected. Signed-off-by: Dave Airlie --- tests/spec/CMakeLists.txt | 1 + tests/spec/arb_texture_stencil8/CMakeLists.gl.txt | 14 ++ tests/spec/arb_texture_stencil8/CMakeLists.txt| 1 + tests/spec

[Piglit] [PATCH 2/2] arb_texture_stencil8: add rendering test

2015-04-04 Thread Dave Airlie
This is based on ARB_stencil_texturing draw.c except it only tests stencil texturing. It's also forward ported to core profile. Signed-off-by: Dave Airlie --- tests/spec/arb_texture_stencil8/CMakeLists.gl.txt | 1 + tests/spec/arb_texture_stencil8/draw.c

[Piglit] [PATCH] arb_texture_stencil8: add rendering test (v2)

2015-04-04 Thread Dave Airlie
This is based on ARB_stencil_texturing draw.c except it only tests stencil texturing. It's also forward ported to core profile. v2: fix test comment (Chris) Signed-off-by: Dave Airlie --- tests/spec/arb_texture_stencil8/CMakeLists.gl.txt | 1 + tests/spec/arb_texture_stencil8/d

Re: [Piglit] [PATCH] generator: clear before rendering with the builtin tests

2015-04-05 Thread Dave Airlie
On 27 March 2015 at 12:18, Ilia Mirkin wrote: > Can we just make shader_runner do a clear automatically? This has > happened to me a number of times. I'm not sure we should do that though, I don't really like the idea of shader runner doing an implicit behavioural change, but anyone else have an

[Piglit] [PATCH 1/4] arb_texture_stencil8: add initial texture interface test

2015-04-05 Thread Dave Airlie
this just checks the basic API works, and that 3D is rejected. Signed-off-by: Dave Airlie --- tests/spec/CMakeLists.txt | 1 + tests/spec/arb_texture_stencil8/CMakeLists.gl.txt | 14 ++ tests/spec/arb_texture_stencil8/CMakeLists.txt| 1 + tests/spec

[Piglit] [PATCH 3/4] arb_texture_stencil8: add basic get teximage

2015-04-05 Thread Dave Airlie
This just tests the get tex image path works okay for stencil8 textures. Signed-off-by: Dave Airlie --- tests/spec/arb_texture_stencil8/CMakeLists.gl.txt | 1 + tests/spec/arb_texture_stencil8/getteximage.c | 98 +++ 2 files changed, 99 insertions(+) create mode 100644

[Piglit] [PATCH 2/4] arb_texture_stencil8: add rendering test (v2.1)

2015-04-05 Thread Dave Airlie
This is based on ARB_stencil_texturing draw.c except it only tests stencil texturing. It's also forward ported to core profile. v2: fix test comment (Chris) v2.1: don't require things we don't need. (Ilia) Signed-off-by: Dave Airlie --- tests/spec/arb_texture_stencil8/CMakeLis

[Piglit] [PATCH 4/4] arb_texture_stencil8: add fbo using stencil8 texture test

2015-04-05 Thread Dave Airlie
From: Dave Airlie This tests clear, blit and readpixels from an fbo backed by a STENCIL_INDEX based texture. Signed-off-by: Dave Airlie --- tests/spec/arb_texture_stencil8/CMakeLists.gl.txt | 1 + tests/spec/arb_texture_stencil8/fbo-stencil8.c| 347 ++ 2 files

Re: [Piglit] [PATCH 1/2] arb_texture_stencil8: add initial texture interface test

2015-04-05 Thread Dave Airlie
On 5 April 2015 at 21:01, Emil Velikov wrote: > On 5 April 2015 at 05:51, Dave Airlie wrote: >> this just checks the basic API works, and that 3D is rejected. >> >> Signed-off-by: Dave Airlie >> --- >> tests/spec/CMakeLists.txt

[Piglit] [PATCH 1/9] arb_texture_stencil8: add initial texture interface test

2015-04-06 Thread Dave Airlie
this just checks the basic API works, and that 3D is rejected. Signed-off-by: Dave Airlie --- tests/spec/CMakeLists.txt | 1 + tests/spec/arb_texture_stencil8/CMakeLists.gl.txt | 14 ++ tests/spec/arb_texture_stencil8/CMakeLists.txt| 1 + tests/spec

[Piglit] [PATCH 3/9] arb_texture_stencil8: add basic get teximage

2015-04-06 Thread Dave Airlie
This just tests the get tex image path works okay for stencil8 textures. Signed-off-by: Dave Airlie --- tests/spec/arb_texture_stencil8/CMakeLists.gl.txt | 1 + tests/spec/arb_texture_stencil8/getteximage.c | 98 +++ 2 files changed, 99 insertions(+) create mode 100644

[Piglit] [PATCH 5/9] fbo-formats: add texture_stencil8 support

2015-04-06 Thread Dave Airlie
From: Dave Airlie Make sure to disable stencil textures everywhere we disable depth ones. Signed-off-by: Dave Airlie --- tests/fbo/fbo-alphatest-formats.c | 1 + tests/fbo/fbo-blending-formats.c | 3 ++- tests/fbo/fbo-clear-formats.c | 7 +-- tests/fbo/fbo-colormask

[Piglit] [PATCH 8/9] texwrap: add GL_ARB_texture_stencil8 support

2015-04-06 Thread Dave Airlie
From: Dave Airlie Signed-off-by: Dave Airlie --- tests/texturing/texwrap.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/tests/texturing/texwrap.c b/tests/texturing/texwrap.c index 88afe4e..7be19a5 100644 --- a/tests/texturing/texwrap.c +++ b/tests

[Piglit] [PATCH 4/9] arb_texture_stencil8: add fbo using stencil8 texture test

2015-04-06 Thread Dave Airlie
From: Dave Airlie This tests clear, blit and readpixels from an fbo backed by a STENCIL_INDEX based texture. Signed-off-by: Dave Airlie --- tests/spec/arb_texture_stencil8/CMakeLists.gl.txt | 1 + tests/spec/arb_texture_stencil8/fbo-stencil8.c| 347 ++ 2 files

[Piglit] [PATCH 7/9] arb_clear_buffer_object: add stencil index to invalid formats list.

2015-04-06 Thread Dave Airlie
From: Dave Airlie Signed-off-by: Dave Airlie --- tests/spec/arb_clear_buffer_object/invalid-internal-format.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/spec/arb_clear_buffer_object/invalid-internal-format.c b/tests/spec/arb_clear_buffer_object/invalid-internal-format.c index

[Piglit] [PATCH 2/9] arb_texture_stencil8: add rendering test (v2.1)

2015-04-06 Thread Dave Airlie
This is based on ARB_stencil_texturing draw.c except it only tests stencil texturing. It's also forward ported to core profile. v2: fix test comment (Chris) v2.1: don't require things we don't need. (Ilia) Signed-off-by: Dave Airlie --- tests/spec/arb_texture_stencil8/CMakeLis

[Piglit] [PATCH 9/9] all.py: add ARB_texture_stencil8 tests to all.py

2015-04-06 Thread Dave Airlie
From: Dave Airlie This adds the tests so far to all.py. Signed-off-by: Dave Airlie --- tests/all.py | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/tests/all.py b/tests/all.py index 8f5d117..06eacfc 100755 --- a/tests/all.py +++ b/tests/all.py @@ -128,7

[Piglit] [PATCH 6/9] arb_clear_texture: add stencil8 support

2015-04-06 Thread Dave Airlie
From: Dave Airlie Add tests for interaction with ARB_texture_stencil8. Signed-off-by: Dave Airlie --- tests/spec/arb_clear_texture/CMakeLists.gl.txt | 1 + tests/spec/arb_clear_texture/stencil.c | 60 ++ 2 files changed, 61 insertions(+) create mode 100644

[Piglit] [PATCH] shader_runner: add ARB_shader_subroutine support

2015-04-06 Thread Dave Airlie
From: Dave Airlie This adds basic support for executing shader subroutine tests. it comes with two intro tests, and probably a lot of bugs. tested against NVIDIA, for some reason -auto fails here. Signed-off-by: Dave Airlie --- tests/shaders/shader_runner.c | 107

[Piglit] [PATCH] shader_runner: add ARB_shader_subroutine support (v2)

2015-04-06 Thread Dave Airlie
From: Dave Airlie This adds basic support for executing shader subroutine tests. it comes with two intro tests, and probably a lot of bugs. tested against NVIDIA, for some reason -auto fails here. v2: add support for other shader types (Ilia) Signed-off-by: Dave Airlie --- tests/shaders

[Piglit] [PATCH] arb_texture_stencil8: add initial texture interface test (v2)

2015-04-07 Thread Dave Airlie
this just checks the basic API works, and that 3D is rejected. v2: add 1d/2d/cube array support (Anuj) Signed-off-by: Dave Airlie --- tests/spec/CMakeLists.txt | 1 + tests/spec/arb_texture_stencil8/CMakeLists.gl.txt | 14 ++ tests/spec/arb_texture_stencil8

Re: [Piglit] [PATCH 1/9] arb_texture_stencil8: add initial texture interface test

2015-04-07 Thread Dave Airlie
> {1D, 2D, CUBE_MAP}_ARRAY targets can also be added in the test. > Someone may do it later, If you don't want to add them now. > Sent an update thanks, Dave. ___ Piglit mailing list Piglit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listi

Re: [Piglit] [PATCH 1/3] arb_vertex_attrib_64bit: add simple vertex input fp64 test

2015-04-07 Thread Dave Airlie
On 24 February 2015 at 11:30, Ilia Mirkin wrote: > On Mon, Feb 23, 2015 at 8:26 PM, Dave Airlie wrote: >> From: Dave Airlie >> >> This is just a simple 64-bit vertex attrib test. >> >> Signed-off-by: Dave Airlie >> --- >> .../execut

[Piglit] nvidia fails with -auto was Re: [PATCH] drawpixels-color-index: new test for glDrawPixels(GL_COLOR_INDEX)

2015-04-07 Thread Dave Airlie
On 19 February 2015 at 02:40, Brian Paul wrote: > To exercise a Mesa failure after the format overhaul. > Note: this test fails on nvidia if the -auto option is given. I noticed this on a bunch of tests I was writing, anyone got any idea when this started, if I had to guess at something in waffl

[Piglit] [PATCH 2/2] arb_vertex_attrib_64bit: pass a 64-bit vertex attrib through to frag shader (v2)

2015-04-07 Thread Dave Airlie
From: Dave Airlie Check the double value unpacks cleanly in the fragment shader. v2: just use a uniform to check value. Signed-off-by: Dave Airlie --- .../execution/vs-fs-pass-vertex-attrib.shader_test | 50 ++ 1 file changed, 50 insertions(+) create mode 100644 tests

[Piglit] [PATCH 1/2] arb_vertex_attrib_64bit: add simple vertex input fp64 test

2015-04-07 Thread Dave Airlie
From: Dave Airlie This just tests a single 64-bit attrib input that is truncated and used as position. Signed-off-by: Dave Airlie --- .../execution/vs-fp64-input-trunc.shader_test | 36 ++ 1 file changed, 36 insertions(+) create mode 100644 tests/spec

[Piglit] [PATCH 3/3] arb_vertex_attrib_64bit: explicit attribute location test

2015-04-07 Thread Dave Airlie
From: Dave Airlie This puts two dvec3 attributes into consecutive locations explicitly, Signed-off-by: Dave Airlie --- .../execution/vs-test-attrib-location.shader_test | 44 ++ 1 file changed, 44 insertions(+) create mode 100644 tests/spec/arb_vertex_attrib_64bit

[Piglit] [PATCH 2/3] arb_vertex_attrib_64bit: use a dvec3 input

2015-04-07 Thread Dave Airlie
From: Dave Airlie This just tests a dvec3 input takes up the correct amount of space. Signed-off-by: Dave Airlie --- .../execution/vs-dvec3-input.shader_test | 37 ++ 1 file changed, 37 insertions(+) create mode 100644 tests/spec/arb_vertex_attrib_64bit

[Piglit] [PATCH 1/3] arb_vertex_attrib_64bit: exercise the VertexAttribL interfaces

2015-04-07 Thread Dave Airlie
From: Dave Airlie this just writes attribs and reads the current value back. Signed-off-by: Dave Airlie --- tests/all.py | 5 + tests/spec/CMakeLists.txt | 1 + tests/spec/arb_vertex_attrib_64bit/CMakeLists.txt | 1

[Piglit] [PATCH] arb_copy_image: add stencil8 texture support.

2015-04-21 Thread Dave Airlie
From: Dave Airlie This passes on NVIDIA 346.47. Signed-off-by: Dave Airlie --- tests/spec/arb_copy_image/formats.c | 4 1 file changed, 4 insertions(+) diff --git a/tests/spec/arb_copy_image/formats.c b/tests/spec/arb_copy_image/formats.c index aa9b4d3..787194b 100644 --- a/tests/spec

[Piglit] [PATCH 1/2] shader_runner: add ARB_shader_subroutine support (v3)

2015-04-23 Thread Dave Airlie
From: Dave Airlie This adds basic support for executing shader subroutine tests. it comes with two intro tests, and probably a lot of bugs. tested against NVIDIA, for some reason -auto fails here. v2: add support for other shader types (Ilia) v2.1: fix printf v3: rework code to query num

[Piglit] [PATCH 2/2] arb_shader_subroutine: add a bunch of shader tests

2015-04-23 Thread Dave Airlie
From: Dave Airlie This adds some basic shader tests to exercise ARB_shader_subroutine using the shader_runner interface I added. Signed-off-by: Dave Airlie --- .../array-subroutines-nonconst.shader_test | 51 .../execution/array-subroutines.shader_test| 47

[Piglit] [PATCH] arb_gpu_shader_fp64: make sure implicit double->float doesnt' happen

2015-05-05 Thread Dave Airlie
From: Dave Airlie Mesa is allowing this right now, so add a test to make it not happen again. Signed-off-by: Dave Airlie --- .../compiler/implicit-conversion-bad.vert | 30 ++ 1 file changed, 30 insertions(+) create mode 100644 tests/spec/arb_gpu_shader_fp64

[Piglit] [PATCH] texwrap: test wrapping texture offsets

2015-05-26 Thread Dave Airlie
while writing softpipe support I realised we didn't have tests for any of this, this just adds a new parameter to texwrap to test texture offsets, Signed-off-by: Dave Airlie --- tests/texturing/texwrap.c | 66 +-- 1 file changed, 64 insertions(

Re: [Piglit] [PATCH] texwrap: test wrapping texture offsets

2015-05-27 Thread Dave Airlie
>> case GL_MIRROR_CLAMP_EXT: >> @@ -862,6 +868,10 @@ static void draw(const struct format_desc *format, >> scale[0] = scale[1] = scale[2] = scale[3] = 1.0/((1ull << >> (bits-1))-1); >> glUseProgram(prog_int); >> glUniform4fv(int_scale_loc, 1,

Re: [Piglit] [PATCH 00/40] Replace vpfp-generic with shader_runner.

2015-06-07 Thread Dave Airlie
On 7 June 2015 at 12:11, Kenneth Graunke wrote: > Hi all, > > This patch series ports all vpfp-generic tests to shader_runner, > and then deletes vpfp-generic. > > A bit of history: > - vpfp-generic was introduced by Nicolai Hähnle in 2009, as a generic > ARB_vertex|fragment_program test runner.

Re: [Piglit] [PATCH 00/40] Replace vpfp-generic with shader_runner.

2015-06-07 Thread Dave Airlie
On 8 June 2015 at 15:31, Kenneth Graunke wrote: > On Monday, June 08, 2015 06:29:26 AM Dave Airlie wrote: >> On 7 June 2015 at 12:11, Kenneth Graunke wrote: >> > Hi all, >> > >> > This patch series ports all vpfp-generic tests to shader_runner, >> > a

[Piglit] [PATCH] arb_gpu_shader5: add textureSize sampler indexing tests

2015-06-21 Thread Dave Airlie
From: Dave Airlie softpipe takes a different path for textureSize, so test it as well just in case other drivers do similiar. Signed-off-by: Dave Airlie --- .../fs-simple-texture-size.shader_test | 68 ++ 1 file changed, 68 insertions(+) create mode 100644

[Piglit] [PATCH] arb_gpu_shader_fp64: add some tests for indirect double accesses

2015-06-29 Thread Dave Airlie
From: Dave Airlie while developing for llvmpipe, I realised we weren't testing indirect access to double arrays, so I wrote some tests. double array temp src double array temp dst double array constant src. Signed-off-by: Dave Airlie --- .../fs-indirect-temp-double-const-src.shader

Re: [Piglit] [PATCH 1/2] xts: Add a profile for just the rendering tests.

2015-07-08 Thread Dave Airlie
On 9 July 2015 at 07:38, Eric Anholt wrote: > Many X developers work on rendering code, and don't really care about > the rest of xts. This is our equivalent of GL's quick.py. For the series, Reviewed-by: Dave Airlie > --- > tests/xts-render.py | 32

[Piglit] [PATCH] texwrap: skip if integers or offset used with non-2D

2015-07-08 Thread Dave Airlie
From: Dave Airlie The test doesn't support these cases yet, since the shaders are hardcoded to use 2D samplers. Signed-off-by: Dave Airlie --- tests/texturing/texwrap.c | 9 + 1 file changed, 9 insertions(+) diff --git a/tests/texturing/texwrap.c b/tests/texturing/texwrap.c

Re: [Piglit] [PATCH] arb_blend_func_extended: output-location api test

2015-07-08 Thread Dave Airlie
On 3 July 2015 at 17:39, Tapani Pälli wrote: > Linking should fail, test passes on NVIDIA's proprietary driver version > 346.59 but crashes currently on i965 driver. > > Signed-off-by: Tapani Pälli Reviewed-by: Dave Airlie ___ Pi

Re: [Piglit] [PATCH] Test that interpolateAtSample returns different results

2015-07-21 Thread Dave Airlie
ase build because it is hardcoded to use sample 0. Reviewed-by: Dave Airlie > --- > tests/all.py | 2 + > tests/spec/arb_gpu_shader5/CMakeLists.gl.txt | 1 + > .../interpolateAtSample-different.c| 259 > ++

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

2015-07-23 Thread Dave Airlie
On 24 July 2015 at 02:00, Neil Roberts 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 uniform. The GLSL sp

[Piglit] [PATCH] arb_gpu_shader_fp64: test glGetUniformdv interface

2015-07-26 Thread Dave Airlie
From: Dave Airlie I must have forgot this way back when, this just ports the getuniform02.c test to glsl 1.50 and tests the fp64 interface. Signed-off-by: Dave Airlie --- tests/all.py | 1 + .../execution/CMakeLists.gl.txt| 1

[Piglit] [PATCH] arb_transform_feedback3: test for an incorrect assert in mesa/st

2015-07-29 Thread Dave Airlie
From: Dave Airlie This test hits an assert in the state tracker from the API. Signed-off-by: Dave Airlie --- .../spec/arb_transform_feedback3/CMakeLists.gl.txt | 2 +- tests/spec/arb_transform_feedback3/begin_end.c | 78 ++ 2 files changed, 79 insertions(+), 1

Re: [Piglit] [PATCH] arb_transform_feedback3: test for an incorrect assert in mesa/st

2015-07-30 Thread Dave Airlie
On 30 July 2015 at 19:50, Marek Olšák wrote: > On Thu, Jul 30, 2015 at 2:52 AM, Dave Airlie wrote: >> From: Dave Airlie >> >> This test hits an assert in the state tracker from the API. >> >> Signed-off-by: Dave Airlie >> --- >> .../spec/a

Re: [Piglit] [PATCH] ext_texture_integer: add new tex formats test

2015-08-31 Thread Dave Airlie
On 1 September 2015 at 09:21, Brian Paul wrote: > Test glTexImage2D() and glGetTexImage() with a variety of internalFormats > and user formats/types. > > Note: currently fails with Mesa, passes with NVIDIA. As requested this passes on mesa with my format patches applied. Dave. __

[Piglit] [PATCH] glsl-1.10: test for rotating a variable components in a loop

2015-09-01 Thread Dave Airlie
From: Dave Airlie This test fails on r600 with sb enabled, it does something similiar to what a lot of the CTS test cases do. Signed-off-by: Dave Airlie --- .../fs-while-loop-rotate-value.shader_test | 32 ++ 1 file changed, 32 insertions(+) create mode 100644

Re: [Piglit] [Announce] Summary updates have arrived

2015-09-23 Thread Dave Airlie
I'm not sure if it's related, but I'm not seeing the command lines in the html summary anymore. Dave. On 23 September 2015 at 08:05, Dylan Baker wrote: > Just a heads up. My series reworking summaries had landed. > > Most of this work is meant to be user-transparent, but I'm sure there > are one

[Piglit] [PATCH] arb_gpu_shader_fp64: expand getuniform double coverage

2015-09-30 Thread Dave Airlie
values with GetUniformdv, and getting double values with float/int/uint interfaces. notes: currently mesa fails this. Signed-off-by: Dave Airlie --- .../arb_gpu_shader_fp64/execution/getuniformdv.c | 92 -- 1 file changed, 86 insertions(+), 6 deletions(-) diff --git a/tests

[Piglit] [PATCH] tess/fp64: add some basic cross over tests

2015-09-30 Thread Dave Airlie
From: Dave Airlie CTS tests this a lot better than piglit, but this is a good place to start, I've got a bunch of fixes queued for mesa to address some of these problems. This adds 3 tests: simple double vs->tcs->tes->fs simple dvec2 vs->tcs->tes->fs simple double[2] v

[Piglit] [PATCH] arb_shader_subroutine: add a vertex shader test

2015-09-30 Thread Dave Airlie
From: Dave Airlie This tests vertex shaders work with shader subroutine. Signed-off-by: Dave Airlie --- .../execution/vs-simple-subroutine.shader-test | 52 ++ 1 file changed, 52 insertions(+) create mode 100644 tests/spec/arb_shader_subroutine/execution/vs-simple

[Piglit] [PATCH] arb_gpu_shader_fp64: expand get uniform even further.

2015-10-11 Thread Dave Airlie
From: Dave Airlie Ilia pointed out the fix patch didn't go far enough, so add some tests to cover more cases, specifically: a) reading from a dvec4 into a float b) reading from a vec4 into doubles. Signed-off-by: Dave Airlie --- .../arb_gpu_shader_fp64/execution/getuniformdv.c

  1   2   3   >