[Piglit] [PATCH v3 5/8] egl_khr_fence_sync: Verify eglDupNativeFenceFDANDROID.

2017-06-20 Thread Rafael Antognolli
Verify that eglDupNativeFenceFDANDROID() correctly returns a new file descriptor. Signed-off-by: Rafael Antognolli --- .../spec/egl_khr_fence_sync/egl_khr_fence_sync.c | 49 +- 1 file changed, 48 insertions(+), 1 deletion(-) diff --git a/tests/egl/spec/egl_khr_fence_sync/e

[Piglit] [PATCH v3 0/8] Add tests for EGL_ANDROID_native_fence_sync.

2017-06-20 Thread Rafael Antognolli
This time, reuse most of the code from egl_khr_fence_sync test. Cc: Eric Anholt Rafael Antognolli (8): egl_khr_fence_sync: Prepare to support android native_sync. egl_khr_fence_sync: add tests for android fence. egl_khr_fence_sync: Add sw_sync lib. egl_khr_fence_sync: Add test to create

[Piglit] [PATCH v3 8/8] egl_khr_fence_sync: Enable android native fences extension test.

2017-06-20 Thread Rafael Antognolli
Enable the test on the "all" test profile. Signed-off-by: Rafael Antognolli Cc: Dylan Baker --- tests/all.py | 6 ++ 1 file changed, 6 insertions(+) diff --git a/tests/all.py b/tests/all.py index f0a7c05..9ecd8d8 100644 --- a/tests/all.py +++ b/tests/all.py @@ -4646,6 +4646,12 @@ with prof

[Piglit] [PATCH v3 1/8] egl_khr_fence_sync: Prepare to support android native_sync.

2017-06-20 Thread Rafael Antognolli
Add a test profile to this test, so we can reuse part of the code later and test the same features from EGL_ANDROID_native_fence_sync. Signed-off-by: Rafael Antognolli --- .../spec/egl_khr_fence_sync/egl_khr_fence_sync.c | 144 + 1 file changed, 93 insertions(+), 51 deletio

[Piglit] [PATCH v3 4/8] egl_khr_fence_sync: Add test to create fence from fd.

2017-06-20 Thread Rafael Antognolli
Add a test that creates a sync file using sw_sync, and then creates an EGL fence sync from that sync file. It also verify that the fence sync EGL_SYNC_CONDITION_KHR is set to EGL_SYNC_NATIVE_FENCE_SIGNALED_ANDROID, and that EGL_SYNC_STATUS_KHR changes to EGL_SIGNALED_KHR once the fence is signaled.

[Piglit] [PATCH v3 2/8] egl_khr_fence_sync: add tests for android fence.

2017-06-20 Thread Rafael Antognolli
Add a new "profile" for android native fences. It basically reuses some of the tests that should be common to this and the original EGL_KHR_fence_sync extension. Signed-off-by: Rafael Antognolli --- .../spec/egl_khr_fence_sync/egl_khr_fence_sync.c | 54 ++ 1 file changed, 5

[Piglit] [PATCH v3 7/8] egl_khr_fence_sync: Test for wait with zero timeout.

2017-06-20 Thread Rafael Antognolli
Verify that eglClientWaitSyncKHR() correctly handles zero timeout before and after the sw sync fence is signaled. Signed-off-by: Rafael Antognolli --- .../spec/egl_khr_fence_sync/egl_khr_fence_sync.c | 97 ++ 1 file changed, 97 insertions(+) diff --git a/tests/egl/spec/egl

[Piglit] [PATCH v3 3/8] egl_khr_fence_sync: Add sw_sync lib.

2017-06-20 Thread Rafael Antognolli
Add a small library that helps manipulating software fences. They are useful for testing EGL Android fences, since the latter can be created out of them. Signed-off-by: Rafael Antognolli --- .../spec/egl_khr_fence_sync/CMakeLists.gles2.txt | 2 +- tests/egl/spec/egl_khr_fence_sync/sw_sync.c

[Piglit] [PATCH v3 6/8] egl_khr_fence_sync: Verify that dup() fails on invalid fence.

2017-06-20 Thread Rafael Antognolli
If is not a valid sync object for , EGL_NO_NATIVE_FENCE_FD_ANDROID is returned and an EGL_BAD_PARAMETER error is generated. Signed-off-by: Rafael Antognolli --- .../spec/egl_khr_fence_sync/egl_khr_fence_sync.c | 51 ++ 1 file changed, 51 insertions(+) diff --git a/tests/e

[Piglit] [PATCH] ARB_point_parameters: port glean test pointatten to piglit

2017-06-20 Thread Timothy Arceri
--- tests/all.py | 6 +- tests/glean/CMakeLists.gl.txt | 1 - tests/glean/tpointatten.cpp| 294 - tests/glean/tpointatten.h | 78 -- tests/llvmpipe.py

[Piglit] [PATCH 3/4] drawoverhead: test images and image buffers

2017-06-20 Thread Marek Olšák
From: Marek Olšák --- tests/perf/drawoverhead.c | 206 +- 1 file changed, 185 insertions(+), 21 deletions(-) diff --git a/tests/perf/drawoverhead.c b/tests/perf/drawoverhead.c index 4e04a05..fa6e1bb 100644 --- a/tests/perf/drawoverhead.c +++ b/tests/p

[Piglit] [PATCH 1/4] drawoverhead: test TBO state changes

2017-06-20 Thread Marek Olšák
From: Marek Olšák --- tests/perf/drawoverhead.c | 196 +++--- 1 file changed, 149 insertions(+), 47 deletions(-) diff --git a/tests/perf/drawoverhead.c b/tests/perf/drawoverhead.c index bedaecb..7dff1b4 100644 --- a/tests/perf/drawoverhead.c +++ b/tests/p

[Piglit] [PATCH 4/4] drawoverhead: test 8 UBOs instead of 4

2017-06-20 Thread Marek Olšák
From: Marek Olšák --- tests/perf/drawoverhead.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/perf/drawoverhead.c b/tests/perf/drawoverhead.c index fa6e1bb..429375f 100644 --- a/tests/perf/drawoverhead.c +++ b/tests/perf/drawoverhead.c @@ -713,21 +713,21 @@ perf_d

[Piglit] [PATCH 2/4] drawoverhead: fix primitive restart testing for GL Compatibility

2017-06-20 Thread Marek Olšák
From: Marek Olšák --- tests/perf/drawoverhead.c | 20 +++- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/tests/perf/drawoverhead.c b/tests/perf/drawoverhead.c index 7dff1b4..4e04a05 100644 --- a/tests/perf/drawoverhead.c +++ b/tests/perf/drawoverhead.c @@ -399,38

[Piglit] [Bug 101503] Piglit exits with "invalid literal for int() with base 10: '19225.json"

2017-06-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101503 --- Comment #2 from Hi-Angel --- $ ls results/master-d69f82c3c940467/tests/19225.json* results/master-d69f82c3c940467/tests/19225.json results/master-d69f82c3c940467/tests/19225.json.tmp -- You are receiving this mail b

[Piglit] [Bug 101503] Piglit exits with "invalid literal for int() with base 10: '19225.json"

2017-06-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101503 --- Comment #1 from Dylan Baker --- That is a very interesting bug. I'm not sure exactly how you hit that. Essentially the python framework is trying to split the '.json' off the end and turn the fist part into a number rather than a string, a

Re: [Piglit] [PATCH 3/3] framework: Exit if a filter removes all tests from a profile

2017-06-20 Thread Dylan Baker
Quoting Petri Latvala (2017-06-20 05:41:11) > On 04/13/2017 09:46 PM, Dylan Baker wrote: > > Quoting Brian Paul (2017-04-12 13:04:59) > >> On 04/12/2017 11:55 AM, Dylan Baker wrote: > >>> It doesn't makes sense to run if a user has removed all tests from a > >>> selected profile, and currently if a

Re: [Piglit] [PATCH 3/3] arb_gpu_shader5: interpolateAt* must reject inputs in structs

2017-06-20 Thread Nicolai Hähnle
On 20.06.2017 13:32, Nicolai Hähnle wrote: On 19.06.2017 23:46, Ian Romanick wrote: That's actually a little surprising... do other drivers reject this? If so, I'll agree with Timothy that a spec quote would be nice. So, I guess I was going off of what was in the Mesa source already, plus th

Re: [Piglit] [PATCH 3/3] framework: Exit if a filter removes all tests from a profile

2017-06-20 Thread Petri Latvala
On 04/13/2017 09:46 PM, Dylan Baker wrote: Quoting Brian Paul (2017-04-12 13:04:59) On 04/12/2017 11:55 AM, Dylan Baker wrote: It doesn't makes sense to run if a user has removed all tests from a selected profile, and currently if all tests are removed, then an assertion will be hit in the back

Re: [Piglit] [PATCH 3/3] arb_gpu_shader5: interpolateAt* must reject inputs in structs

2017-06-20 Thread Nicolai Hähnle
On 19.06.2017 23:46, Ian Romanick wrote: That's actually a little surprising... do other drivers reject this? If so, I'll agree with Timothy that a spec quote would be nice. So, I guess I was going off of what was in the Mesa source already, plus the spec part of Section 8.13.2 (Interpolation