[Piglit] [PATCH 1/2] cl: Add execution event parameter to piglit_cl_enqueue_kernel

2018-11-21 Thread Jan Vesely
From: Jan Vesely Signed-off-by: Jan Vesely --- tests/cl/api/create-program-with-binary.c| 3 ++- tests/cl/custom/buffer-flags.c | 2 +- tests/cl/custom/flush-after-enqueue-kernel.c | 3 ++- tests/cl/custom/r600-create-release-buffer-bug.c | 9 ++--- tests/cl/cu

[Piglit] [PATCH 2/2] cl: Wait for kernel execution instead of flushing the queue in cl_piglit_execute kernel

2018-11-21 Thread Jan Vesely
From: Jan Vesely This prevents race condition when a failed kernel launch would no longer be in the command queue by the time we call clFinish. Signed-off-by: Jan Vesely --- tests/util/piglit-util-cl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/util/piglit-util-cl

Re: [Piglit] [PATCH] tests/image_load_store/atomic: use piglit subtest framework

2018-11-21 Thread Dylan Baker
Quoting Rafael Antognolli (2018-11-20 17:01:11) > Awesome, thanks for doing this. > > Reviewed-by: Rafael Antognolli > > Also, it fixes the issue I had, but apparently it's not the only test > with that problem. Another test with the same issue: > > spec@arb_shader_image_size@builtin > > I wou

Re: [Piglit] [PATCH 19/19] tests/ext_polygon_offset_clamp-draw: use subtest framework

2018-11-21 Thread Dylan Baker
Quoting Ilia Mirkin (2018-11-20 18:28:52) > On Mon, Nov 19, 2018 at 4:24 PM Dylan Baker wrote: > > > > --- > > tests/spec/ext_polygon_offset_clamp/draw.c | 121 ++--- > > 1 file changed, 79 insertions(+), 42 deletions(-) > > > > diff --git a/tests/spec/ext_polygon_offset_clamp/dra

[Piglit] [PATCH] arb_gl_spirv: add test for uniform blocks with the same structure

2018-11-21 Thread Józef Kucia
This test reproduces a bug in Nvidia drivers: error: binding mismatch between shaders for UBO (named __defaultname) error: struct type mismatch between shaders for uniform (named __defaultname) error: binding mismatch between shaders for UBO (named __defaultname) error: struct type mismatch betwee

[Piglit] [PATCH] fbo: fixup compiler-warnings in quirk-test

2018-11-21 Thread Erik Faye-Lund
I'm not quite sure why I didn't catch this earlier, but the code discards constness from some arrays, which leads to warnings. Let's add the constness to the function-signature, and the warnings go away. Signed-off-by: Erik Faye-Lund --- tests/fbo/fbo-blending-format-quirks.c | 6 -- 1 file

Re: [Piglit] [PATCH v2 7/6] texturing: run gles2 variants as well

2018-11-21 Thread Erik Faye-Lund
On Tue, 2018-11-20 at 22:30 -0500, Ilia Mirkin wrote: > Series is > > Reviewed-by: Ilia Mirkin Thanks, pushed :) > On Fri, Oct 26, 2018 at 11:34 AM Erik Faye-Lund > wrote: > > It's nice if these tests also run automatically, so let's add them > > to > > opengl.py. > > > > Signed-off-by: Erik

[Piglit] [Bug 108819] Piglit test depthstencil-render-miplevels wrong memory usage

2018-11-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108819 --- Comment #1 from Sergii Romantsov --- Series proposed: https://patchwork.freedesktop.org/series/52815/ -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.

[Piglit] [PATCH v1 1/2] piglit-framework-gl: add possibility to deinit test

2018-11-21 Thread Sergii Romantsov
Each test can be initialized ('init') and displayed ('dipslay'). During initialization can be allocated resources. But there is no common unified mechanism to free resources on test finishing, except, probably, registaration of callabck with 'atexit'. To the piglit-configuration added callback-fun

[Piglit] [PATCH v1 2/2] test: fix resources usage for depthstencil-render-miplevels

2018-11-21 Thread Sergii Romantsov
Usage test 'depthstencil-render-miplevels 200 s=z24_s8' causes core dump on exit. Issues: 1. Allocation of memory many times to the same variable 2. Not complete array to store pointers 3. Absence of memory freeing CC: Eric Anholt Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108819 Fix

[Piglit] [Bug 108819] New: Piglit test depthstencil-render-miplevels wrong memory usage

2018-11-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108819 Bug ID: 108819 Summary: Piglit test depthstencil-render-miplevels wrong memory usage Product: piglit Version: unspecified Hardware: Other OS: All