Re: [Piglit] [PATCH] glsl-1.50: add linker test for unused in out blocks

2017-07-18 Thread Timothy Arceri
On 15/07/17 06:21, Józef Kucia wrote: On Tue, May 30, 2017 at 4:23 PM, Józef Kucia wrote: This test exposes a Mesa GLSL linker bug. The test fails with the following error message: error: Input block `blk' is not an output of the previous stage Section 4.3.4

[Piglit] [PATCH] arb_provoking_vertex: test OpenGL profile too

2017-07-18 Thread Brian Paul
The GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION query is legal with compat profile or GL 3.2. Ideally, I guess we should have several variants of this test which exercise different GL versions and profiles. I hand-edited the test and ran it with those variations. Both NVIDIA and Mesa (with

[Piglit] [PATCH 14/17] ext_framebuffer_multisample: clip-and-scissor also against RGBA16F/32F

2017-07-18 Thread Topi Pohjolainen
Signed-off-by: Topi Pohjolainen --- tests/all.py| 10 ++ .../clip-and-scissor-blit.cpp | 17 ++--- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/tests/all.py

[Piglit] [PATCH 06/17] ext_framebuffer_multisample: blit-flipped also against RGBA16F/32F

2017-07-18 Thread Topi Pohjolainen
Signed-off-by: Topi Pohjolainen --- tests/all.py| 8 +--- tests/spec/ext_framebuffer_multisample/blit-flipped.cpp | 16 +--- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/tests/all.py

[Piglit] [PATCH 09/17] ext_framebuffer_multisample: color clear also against RGBA16F/32F

2017-07-18 Thread Topi Pohjolainen
Signed-off-by: Topi Pohjolainen --- tests/spec/ext_framebuffer_multisample/clear.cpp | 31 ++-- 1 file changed, 23 insertions(+), 8 deletions(-) diff --git a/tests/spec/ext_framebuffer_multisample/clear.cpp

[Piglit] [PATCH 08/17] ext_framebuffer_multisample: blit-multiple-rt also against RGBA16F/32F

2017-07-18 Thread Topi Pohjolainen
Signed-off-by: Topi Pohjolainen --- tests/all.py | 5 + .../blit-multiple-render-targets.cpp | 10 +++--- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/tests/all.py

[Piglit] [PATCH 11/17] ext_framebuffer_multisample: sample-alpha- also against RGBA16F/32F

2017-07-18 Thread Topi Pohjolainen
Signed-off-by: Topi Pohjolainen --- .../sample-alpha-to-coverage.cpp | 41 +++--- 1 file changed, 28 insertions(+), 13 deletions(-) diff --git a/tests/spec/ext_framebuffer_multisample/sample-alpha-to-coverage.cpp

[Piglit] [PATCH 15/17] ext_framebuffer_multisample: sample-coverage also against RGBA16F/32F

2017-07-18 Thread Topi Pohjolainen
Signed-off-by: Topi Pohjolainen --- tests/all.py | 10 ++ tests/spec/ext_framebuffer_multisample/sample-coverage.cpp | 14 +- 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/tests/all.py

[Piglit] [PATCH 16/17] ext_framebuffer_multisample: int-draw-buffers also against 8/16/32/UI

2017-07-18 Thread Topi Pohjolainen
Signed-off-by: Topi Pohjolainen --- tests/all.py | 8 +--- tests/spec/ext_framebuffer_multisample/draw-buffers-common.cpp | 7 ++- .../int-draw-buffers-alpha-to-coverage.cpp | 10

[Piglit] [PATCH 07/17] ext_framebuffer_multisample: blit-mismatched also against RGBA16F/32F

2017-07-18 Thread Topi Pohjolainen
Signed-off-by: Topi Pohjolainen --- tests/all.py | 13 ++- .../blit-mismatched-formats.cpp| 27 +++--- .../blit-mismatched-samples.cpp| 16 +++--

[Piglit] [PATCH 17/17] ext_framebuffer_multisample: Use full value range for integer formats

2017-07-18 Thread Topi Pohjolainen
Signed-off-by: Topi Pohjolainen --- .../draw-buffers-common.cpp| 39 -- tests/util/sized-internalformats.h | 8 + 2 files changed, 36 insertions(+), 11 deletions(-) diff --git

[Piglit] [PATCH 05/17] ext_framebuffer_multisample: more tests against GL_RGBA16F/32F

2017-07-18 Thread Topi Pohjolainen
Currently these are run only against GL_RGBA. Two integer formattted tests: int-draw-buffers-alpha-to-one and int-draw-buffers-alpha-to-coverage will be addressed in another patch while alpha-to-coverage-no-draw-buffer-zero and alpha-to-one-single-sample-buffer are not that meaningful to run

[Piglit] [PATCH 13/17] ext_framebuffer_multisample: upsample also against RGBA16F/32F

2017-07-18 Thread Topi Pohjolainen
Signed-off-by: Topi Pohjolainen --- .../spec/ext_framebuffer_multisample/upsample.cpp | 35 ++ 1 file changed, 23 insertions(+), 12 deletions(-) diff --git a/tests/spec/ext_framebuffer_multisample/upsample.cpp

[Piglit] [PATCH 10/17] ext_framebuffer_multisample: multiple-blit also against RGBA16F/32F

2017-07-18 Thread Topi Pohjolainen
Signed-off-by: Topi Pohjolainen --- .../multisample-blit.cpp | 32 ++ 1 file changed, 21 insertions(+), 11 deletions(-) diff --git a/tests/spec/ext_framebuffer_multisample/multisample-blit.cpp

[Piglit] [PATCH 12/17] ext_framebuffer_multisample: unaligned-blit also against RGBA16F/32F

2017-07-18 Thread Topi Pohjolainen
Signed-off-by: Topi Pohjolainen --- .../ext_framebuffer_multisample/unaligned-blit.cpp | 38 ++ 1 file changed, 24 insertions(+), 14 deletions(-) diff --git a/tests/spec/ext_framebuffer_multisample/unaligned-blit.cpp

[Piglit] [PATCH 03/17] ext_framebuffer_multisample: Allow resolve fbos with different formats

2017-07-18 Thread Topi Pohjolainen
Signed-off-by: Topi Pohjolainen --- .../draw-buffers-common.cpp| 22 ++ 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/tests/spec/ext_framebuffer_multisample/draw-buffers-common.cpp

[Piglit] [PATCH 04/17] ext_framebuffer_multisample: accuracy also against RGBA16F/32F

2017-07-18 Thread Topi Pohjolainen
Signed-off-by: Topi Pohjolainen --- .../spec/ext_framebuffer_multisample/accuracy.cpp | 29 +- tests/spec/ext_framebuffer_multisample/common.cpp | 10 +--- tests/spec/ext_framebuffer_multisample/common.h| 6 +++--

[Piglit] [PATCH 02/17] ext_framebuffer_multisample: Clamp UNORM only to [0, 1.0]

2017-07-18 Thread Topi Pohjolainen
preparing for source blending with GL_RGBA16F and GL_RGBA32F. Signed-off-by: Topi Pohjolainen --- .../draw-buffers-common.cpp | 20 +--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git

[Piglit] [PATCH 01/17] util/fbo: Provide color format to config constructor

2017-07-18 Thread Topi Pohjolainen
Signed-off-by: Topi Pohjolainen --- .../arb_framebuffer_object/attachments-blit-scaled-linear.cpp | 2 +- tests/spec/arb_framebuffer_object/blit-scaled-linear.cpp | 2 +- .../spec/arb_sample_shading/execution/builtin-gl-num-samples.cpp | 5 +++--

Re: [Piglit] [PATCH] tests/util: remove unneeded cmake code for WGL

2017-07-18 Thread Jose Fonseca
On 18/07/17 16:18, Brian Paul wrote: GLPROTO_INCLUDE_DIRS are not needed for WGL. Spotted by Jose. --- tests/util/CMakeLists.gl.txt | 6 -- 1 file changed, 6 deletions(-) diff --git a/tests/util/CMakeLists.gl.txt b/tests/util/CMakeLists.gl.txt index e11213a..4a9cb67 100644 ---

[Piglit] [PATCH] tests/util: remove unneeded cmake code for WGL

2017-07-18 Thread Brian Paul
GLPROTO_INCLUDE_DIRS are not needed for WGL. Spotted by Jose. --- tests/util/CMakeLists.gl.txt | 6 -- 1 file changed, 6 deletions(-) diff --git a/tests/util/CMakeLists.gl.txt b/tests/util/CMakeLists.gl.txt index e11213a..4a9cb67 100644 --- a/tests/util/CMakeLists.gl.txt +++

Re: [Piglit] [PATCH] wgl: initial check-in of wgl utility code and wgl sanity check program

2017-07-18 Thread Brian Paul
On 07/18/2017 01:06 AM, Jose Fonseca wrote: On 11/07/17 17:06, Brian Paul wrote: Like the glx tests/utility code, but for wgl. Note, one must set the PIGLIT_PLATFORM env var to "wgl" before running Piglit. It looks like there's some Waffle work to look at before this can be made automatic.

Re: [Piglit] [PATCH] wgl: initial check-in of wgl utility code and wgl sanity check program

2017-07-18 Thread Jose Fonseca
On 11/07/17 17:06, Brian Paul wrote: Like the glx tests/utility code, but for wgl. Note, one must set the PIGLIT_PLATFORM env var to "wgl" before running Piglit. It looks like there's some Waffle work to look at before this can be made automatic. --- CMakeLists.txt | 7 ++