[Piglit] [PATCH] util-cl: Fix non-portable sizeof.

2014-12-16 Thread Vinson Lee
Fix Coverity "sizeof not portable" defect. Signed-off-by: Vinson Lee --- tests/util/piglit-framework-cl-program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/util/piglit-framework-cl-program.c b/tests/util/piglit-framework-cl-program.c index d335486..f94525b 100644

[Piglit] [PATCH] cl-api-get-platform-ids: Fix possible use after free.

2014-12-16 Thread Vinson Lee
Fixes "Use after free" defect reported by Coverity. Signed-off-by: Vinson Lee --- tests/cl/api/get-platform-ids.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/cl/api/get-platform-ids.c b/tests/cl/api/get-platform-ids.c index 6cc734a..ab3e4cd 100644 --- a/tests/cl/api/get-platform-id

[Piglit] [PATCH] cl-api-create-image: Fix memory leak.

2014-12-16 Thread Vinson Lee
Fix Coverity "resource leak" defect. Signed-off-by: Vinson Lee --- tests/cl/api/create-image.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/cl/api/create-image.c b/tests/cl/api/create-image.c index 46a98dd..a1e143b 100644 --- a/tests/cl/api/create-image.c +++ b/tests/cl/api/creat

[Piglit] [PATCH] arb_sample_shading-builtin-gl-sample-mask: Use const reference.

2014-12-16 Thread Vinson Lee
Fix Coverity "big parameter passed by value" defect. Signed-off-by: Vinson Lee --- tests/spec/arb_sample_shading/execution/builtin-gl-sample-mask.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/spec/arb_sample_shading/execution/builtin-gl-sample-mask.cpp b/tests/sp

[Piglit] [PATCH] arb_sample_shading-builtin-gl-num-samples: Use const reference.

2014-12-16 Thread Vinson Lee
Fix Coverity "big parameter passed by value" defect. Signed-off-by: Vinson Lee --- tests/spec/arb_sample_shading/execution/builtin-gl-num-samples.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/spec/arb_sample_shading/execution/builtin-gl-num-samples.cpp b/tests/sp

[Piglit] [Bug 87391] [i965]Piglit shaders_glsl-deriv-varyings fails on Mesa 10.4

2014-12-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=87391 lu hua changed: What|Removed |Added Component|tests |Drivers/DRI/i965 Version|unspecified

[Piglit] [Bug 87391] New: [i965 Bisected]Piglit shaders_glsl-deriv-varyings fails on Mesa 10.4

2014-12-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=87391 Bug ID: 87391 Summary: [i965 Bisected]Piglit shaders_glsl-deriv-varyings fails on Mesa 10.4 Product: piglit Version: unspecified Hardware: All OS: Linux (Al

Re: [Piglit] [PATCH] deqp: Add test profile for external dEQP-GLES3 tests (v4)

2014-12-16 Thread Dylan Baker
On Tuesday, December 16, 2014 02:52:08 PM Chad Versace wrote: > On 12/16/2014 02:10 PM, Dylan Baker wrote: > > On Tuesday, December 16, 2014 01:49:20 PM Chad Versace wrote: > > >> +try: > >> +opt = framework.core.PIGLIT_CONFIG.get(config_option[0], > >> +

Re: [Piglit] [PATCH 3/3] cmake, gles: Remove target from the lib list

2014-12-16 Thread Jan Vesely
On Sun, 2014-12-14 at 16:16 +, Emil Velikov wrote: > On 12/12/14 19:33, Jan Vesely wrote: > > Fixes Target links to itself cmake warnings > > > > Signed-off-by: Jan Vesely > > --- > > > Hmm those seems exist since day 1, yet the intent seems to be missing. > > Currently the library tries to

Re: [Piglit] [PATCH] deqp: Add test profile for external dEQP-GLES3 tests (v4)

2014-12-16 Thread Chad Versace
On 12/16/2014 02:10 PM, Dylan Baker wrote: > On Tuesday, December 16, 2014 01:49:20 PM Chad Versace wrote: >> +try: >> +opt = framework.core.PIGLIT_CONFIG.get(config_option[0], >> + config_option[1]) >> +except ConfigParser.NoSectionErr

Re: [Piglit] [PATCH] deqp: Add test profile for external dEQP-GLES3 tests (v4)

2014-12-16 Thread Dylan Baker
On Tuesday, December 16, 2014 01:49:20 PM Chad Versace wrote: > Google opensourced the drawElements Quality Product Testsuite (dEQP) as > part of the Android Lollipop release. It's git repo lives in the Android > tree at [https://android.googlesource.com/platform/external/deqp/]. > > This patch ad

[Piglit] [PATCH] deqp: Add test profile for external dEQP-GLES3 tests (v4)

2014-12-16 Thread Chad Versace
Google opensourced the drawElements Quality Product Testsuite (dEQP) as part of the Android Lollipop release. It's git repo lives in the Android tree at [https://android.googlesource.com/platform/external/deqp/]. This patch adds a new module, deqp_gles3.py, that runs the dEQP-GLES3 tests. It quer

[Piglit] [PATCH] Fix recently introduced GCC warnings in glsl-deriv-varyings

2014-12-16 Thread Andres Gomez
Previous patch at: http://lists.freedesktop.org/archives/piglit/2014-December/013648.html Introduced a couple of GCC warnings in the last 2 newly introduced tests. After correcting the warnings I'm realizing these tests are exposing yet another bug, probably, in glReadPixels. This patch removes

[Piglit] [PATCH] glsl-deriv-varyings: Fixes recently introduced compilation warnings

2014-12-16 Thread Andres Gomez
--- tests/shaders/glsl-deriv-varyings.c | 86 - 1 file changed, 86 deletions(-) diff --git a/tests/shaders/glsl-deriv-varyings.c b/tests/shaders/glsl-deriv-varyings.c index fa72eec..33511de 100644 --- a/tests/shaders/glsl-deriv-varyings.c +++ b/tests/shaders/g

Re: [Piglit] [PATCH 2/4] cmake: Don't rely on pkg-config for all Windows builds.

2014-12-16 Thread Jose Fonseca
On 15/12/14 19:47, Emil Velikov wrote: On 15/12/14 12:19, Jose Fonseca wrote: From: José Fonseca Instead of just MSVC builds. Because pkg-config is not commonly available when compiling natively on Windows, and gives the wrong results (the host package instead of target package) when cross-co