Re: [Piglit] [PATCH] gl-4.3-get_glsl_versions: new tests of GL_NUM_SHADING_LANGUAGE_VERSIONS

2018-02-14 Thread Andriy Khulap
Tested-by: Andriy.Khulap With the corresponding mesa patch (a553c54abf "mesa: add glsl version query (v4)") the test passes. Without that patch fails with error message: Unexpected GL error: GL_INVALID_ENUM 0x500 (Error at ***/piglit/tests/spec/gl-4.3/get_glsl_versions.c:43) On Tue, Feb 13, 201

Re: [Piglit] [PATCH] AMD_performance_monitor: add VC4 specific tests

2018-02-14 Thread Boris Brezillon
On Fri, 09 Feb 2018 21:12:20 + Eric Anholt wrote: > Boris Brezillon writes: > > > From: Boris Brezillon > > > > This adds a specific test for the VC4 GPU. > > Right now, it only checks that FEP-valid-quads and > > QPU-total-clk-cycles-waiting-TMU are consistent after executing well > > kno

[Piglit] [PATCH 4/7] EXT_shader_framebuffer_fetch: Pass output type and precision to decl_frag_data macro.

2018-02-14 Thread Francisco Jerez
This allows using the decl_frag_data macro in more places which were currently using an open-coded inout declaration, in the interest of simplifying the conversion to EXT_shader_framebuffer_fetch_non_coherent which requires the specification of a layout qualifier in all framebuffer fetch output dec

[Piglit] [PATCH 3/7] EXT_shader_framebuffer_fetch: Parameterize more tests on the GL API version.

2018-02-14 Thread Francisco Jerez
This makes the GL API version of the test available to several Mako templates as a macro instead of a magic number. --- .../gen_shader_framebuffer_fetch_tests.py | 28 -- 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/generated_tests/gen_shader_framebu

[Piglit] [PATCH 6/7] EXT_shader_framebuffer_fetch: Add tests for framebuffer fetch outputs with invalid layout qualifier.

2018-02-14 Thread Francisco Jerez
--- .../gen_shader_framebuffer_fetch_tests.py | 36 ++ 1 file changed, 36 insertions(+) diff --git a/generated_tests/gen_shader_framebuffer_fetch_tests.py b/generated_tests/gen_shader_framebuffer_fetch_tests.py index eb0e48c9a..157652329 100644 --- a/generated_tests/

[Piglit] [PATCH 2/7] shader_runner: Add fbfetch barrier command.

2018-02-14 Thread Francisco Jerez
--- tests/shaders/shader_runner.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/shaders/shader_runner.c b/tests/shaders/shader_runner.c index 700b11327..f5eb5c6a7 100644 --- a/tests/shaders/shader_runner.c +++ b/tests/shaders/shader_runner.c @@ -3345,6 +3345,8 @@ piglit_display(void)

[Piglit] [PATCH 1/7] Update XML for latest version of GL_EXT_shader_framebuffer_fetch.

2018-02-14 Thread Francisco Jerez
--- registry/gl.xml | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/registry/gl.xml b/registry/gl.xml index 7b13ff907..54eb4223a 100644 --- a/registry/gl.xml +++ b/registry/gl.xml @@ -13932,6 +13932,9 @@ typedef unsigned int GLhandleARB; GLfloat gainY

[Piglit] [PATCH 7/7] EXT_shader_framebuffer_fetch: Add test cases specific to desktop GL.

2018-02-14 Thread Francisco Jerez
Implement generators for framebuffer fetch test cases using desktop GL features like 1D and layered framebuffers. --- .../gen_shader_framebuffer_fetch_tests.py | 155 + 1 file changed, 155 insertions(+) diff --git a/generated_tests/gen_shader_framebuffer_fetch_tests.p

[Piglit] [PATCH 5/7] EXT_shader_framebuffer_fetch: Port existing tests to non-coherent extension.

2018-02-14 Thread Francisco Jerez
For the most part this is just a matter of specifying the noncoherent layout qualifier and making sure that glFramebufferFetchBarrier is called between rendering passes. --- .../gen_shader_framebuffer_fetch_tests.py | 90 ++ 1 file changed, 60 insertions(+), 30 deletio

Re: [Piglit] [PATCH] tests: Added a new GLES test profile for the Khronos CTS runner

2018-02-14 Thread Mark Janes
Mesa i965 CI doesn't use piglit anymore to run CTS, so we won't be affected by this patch. Andres Gomez writes: > OpenGL GLES*-CTS case lists were renamed to KHR-GLES* in the upstream > repository. > > We want to keep the existing profiles so we are able to keep running > the caselists from prev