Re: [Piglit] [PATCH 2/4] cmake, dma_buf: Require xcb-dri2 for dma_buf tests

2013-09-12 Thread Chad Versace
On 09/11/2013 05:35 AM, Pohjolainen, Topi wrote: On Tue, Sep 10, 2013 at 11:07:52AM -0700, Chad Versace wrote: xcb-dri2 is an optional build dependency for the dma_buf tests. If xcb-dri2 is present, then the tests use it to gain DRM authentication. Otherwise, the tests must be ran as root. No

Re: [Piglit] [PATCH 4/4] ext_image_dma_buf_import: Fix build with mesa 9.2

2013-09-12 Thread Chad Versace
On 09/11/2013 05:34 AM, Pohjolainen, Topi wrote: On Tue, Sep 10, 2013 at 11:07:54AM -0700, Chad Versace wrote: The extension EGL_EXT_image_dma_buf_import is a recent extension, published 2013-02-09, and therefore the eglext.h on many systems do not define it. The first Mesa version in which

Re: [Piglit] [PATCH] mesa_shader_integer_mix: Add tests for mix on integers and bools.

2013-09-12 Thread Ian Romanick
It looks like this hasn't landed yet... which is good because it needs to be renamed to EXT. :) On 09/09/2013 01:42 PM, Matt Turner wrote: Reviewed-by: Paul Berry stereotype...@gmail.com --- tests/all.tests| 6 .../execution/fs-mix-bvec4.shader_test

[Piglit] [PATCH 1/3] GS: Test that geometry ins/outs can have flat/smooth/noperspective qualifiers

2013-09-12 Thread Nicholas Mack
--- .../gs-also-uses-smooth-flat-noperspective.geom| 25 ++ ...also-uses-smooth-flat-noperspective.shader_test | 91 ++ 2 files changed, 116 insertions(+) create mode 100644 tests/spec/glsl-1.50/compiler/gs-also-uses-smooth-flat-noperspective.geom create mode 100644

[Piglit] [PATCH 3/3] GS: Test that varyings of the same name between VS and GS must match types

2013-09-12 Thread Nicholas Mack
--- .../vs-gs-varyings-match-types.shader_test | 48 ++ 1 file changed, 48 insertions(+) create mode 100644 tests/spec/glsl-1.50/execution/vs-gs-varyings-match-types.shader_test diff --git a/tests/spec/glsl-1.50/execution/vs-gs-varyings-match-types.shader_test

[Piglit] [PATCH 2/3] GS: Tests that varying arrays can only be passed between VS and GS within blocks

2013-09-12 Thread Nicholas Mack
--- .../execution/vs-gs-arrays-fail.shader_test| 63 .../vs-gs-arrays-within-blocks-pass.shader_test| 86 ++ 2 files changed, 149 insertions(+) create mode 100644 tests/spec/glsl-1.50/execution/vs-gs-arrays-fail.shader_test create mode 100644

[Piglit] [PATCH 1/4] cl: Move common code from generate-cl-int-builtins.py into its own module

2013-09-12 Thread Tom Stellard
From: Tom Stellard thomas.stell...@amd.com --- generated_tests/genclbuiltins.py| 395 generated_tests/generate-cl-int-builtins.py | 383 +-- 2 files changed, 402 insertions(+), 376 deletions(-) create mode 100644

[Piglit] [PATCH 3/4] cl: Add a python script for generating tests for math builtins

2013-09-12 Thread Tom Stellard
From: Tom Stellard thomas.stell...@amd.com This includes a test for the nextafter builtin. --- generated_tests/CMakeLists.txt | 4 ++ generated_tests/genclbuiltins.py | 2 +- generated_tests/generate-cl-math-builtins.py | 66

[Piglit] [PATCH 2/4] cl-program-test: Add support for parsing float values in scientific notation

2013-09-12 Thread Tom Stellard
From: Tom Stellard thomas.stell...@amd.com --- tests/cl/program/program-tester.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cl/program/program-tester.c b/tests/cl/program/program-tester.c index a153f50..be6bc20 100644 --- a/tests/cl/program/program-tester.c +++

[Piglit] [PATCH RESEND] gs: Test corner case for triangle strip ordering with primitive restart.

2013-09-12 Thread Paul Berry
Verified using the NVIDIA proprietary driver for linux. --- tests/all.tests| 6 + .../glsl-1.50/execution/geometry/CMakeLists.gl.txt | 1 + .../tri-strip-ordering-with-prim-restart.c | 311 + 3 files changed, 318 insertions(+)

[Piglit] [PATCH] cl: Add a test for the sign() builtin

2013-09-12 Thread Tom Stellard
From: Tom Stellard thomas.stell...@amd.com --- This patch depends on my earlier series which creates a new python script for gnerating math builtin tests. generated_tests/generate-cl-math-builtins.py | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git