[Piglit] [PATCH v2] Test that ES frag shader with invariant outputs compiles

2019-01-10 Thread Danylo Piliaiev
shader." From Section 4.6.1 ("The Invariant Qualifier") GLSL ES 3.00 spec: "Only variables output from a shader can be candidates for invariance." v2: moved new tests to tests/spec/glsl-es folders Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107842 Signed-

[Piglit] [PATCH] Test that ES frag shader with invariant outputs compiles

2019-01-09 Thread Danylo Piliaiev
shader." From Section 4.6.1 ("The Invariant Qualifier") GLSL ES 3.00 spec: "Only variables output from a shader can be candidates for invariance." Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107842 Signed-off-by: Danylo Piliaiev --- .../glslpar

Re: [Piglit] [PATCH v3] arb_blend_func_extended: Test dual src blending without second color output

2019-01-03 Thread Danylo Piliaiev
s version, Ilia? Quoting Danylo Piliaiev (2018-11-09 05:27:05) Hi, Since the fix for the underlying issue was pushed to Mesa in eca4a6548d0702a7768edb397bad7b72cfc2 could this test be also pushed? - Danil On 7/9/18 11:54 AM, Danylo Piliaiev wrote: Using fragment shader without second color ou

[Piglit] [PATCH v2] arb_tessellation_shader: Test unmatched TCS output usage

2019-01-03 Thread Danylo Piliaiev
-by: Danylo Piliaiev --- .../tcs-output-unmatched.shader_test | 67 +++ 1 file changed, 67 insertions(+) create mode 100644 tests/spec/arb_tessellation_shader/execution/tcs-output-unmatched.shader_test diff --git a/tests/spec/arb_tessellation_shader/execution/tcs-output

[Piglit] [PATCH] arb_tessellation_shader: Test unmatched TCS output usage

2019-01-02 Thread Danylo Piliaiev
Test that TCS per-vertex outputs which are used only in TCS stage are not converted to local variables and indeed share data within the patch. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104297 Signed-off-by: Danylo Piliaiev --- .../tcs-output-unmatched.shader_test | 65

Re: [Piglit] [PATCH] arb_texture_view: Test interaction with ARB_shader_image_load_store

2018-11-16 Thread Danylo Piliaiev
Hello, Since the patch which fixes the issue got pushed in f9fd0cf4790cb2a530e75d1a2206dbb9d8af7cb2 could this test be reviewed/pushed? Thanks! On 10/24/18 2:17 PM, Danylo Piliaiev wrote: Tests that binding texture view to image unit results in a correct calculation of layers: - Correct layer

Re: [Piglit] [PATCH v3] arb_blend_func_extended: Test dual src blending without second color output

2018-11-09 Thread Danylo Piliaiev
Hi, Since the fix for the underlying issue was pushed to Mesa in eca4a6548d0702a7768edb397bad7b72cfc2 could this test be also pushed? - Danil On 7/9/18 11:54 AM, Danylo Piliaiev wrote: Using fragment shader without second color output should not hang gpu when dual source blending is

[Piglit] [PATCH] arb_texture_view: Test interaction with ARB_shader_image_load_store

2018-10-24 Thread Danylo Piliaiev
Tests that binding texture view to image unit results in a correct calculation of layers: - Correct layer should be read - Image should have correct layers count Exercises the bug: https://bugs.freedesktop.org/show_bug.cgi?id=107856 Signed-off-by: Danylo Piliaiev --- tests/opengl.py

Re: [Piglit] [PATCH v3] arb_shader_image_load_store: Test format incompatible texture buffer

2018-10-09 Thread Danylo Piliaiev
On 10/8/18 7:41 PM, Nanley Chery wrote: On Mon, Jul 23, 2018 at 03:13:34PM +0300, Danylo Piliaiev wrote: Test for the regression which happened when GL_TEXTURE_BUFFER was allowed to have incompatible format. v2: Removed unnecessary code duplication - use upload_image instead of

[Piglit] [PATCH v2] glsl-1.10: add a 'initialization-incompatible-type-propagation' test

2018-09-19 Thread Danylo Piliaiev
Arceri) Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107547 Signed-off-by: Danylo Piliaiev --- ...ation-incompatible-type-propagation-1.frag | 17 +++ ...ation-incompatible-type-propagation-2.frag | 21 +++ ...ation-incompatible-type-propagation-3.frag | 21

Re: [Piglit] [PATCH] glsl-1.10: add a 'initialization-incompatible-type-propagation' test

2018-09-17 Thread Danylo Piliaiev
On 9/17/18 1:01 PM, Timothy Arceri wrote: On 17/9/18 7:56 pm, Danylo Piliaiev wrote: On 9/17/18 12:28 PM, Timothy Arceri wrote: On 16/8/18 12:23 am, Danylo Piliaiev wrote: This tests the case when initialising with incompatible type changed a type of the variable being initialized

Re: [Piglit] [PATCH] glsl-1.10: add a 'initialization-incompatible-type-propagation' test

2018-09-17 Thread Danylo Piliaiev
On 9/17/18 12:28 PM, Timothy Arceri wrote: On 16/8/18 12:23 am, Danylo Piliaiev wrote: This tests the case when initialising with incompatible type changed a type of the variable being initialized. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107547 Signed-off-by: Danylo Piliaiev

[Piglit] [PATCH] glsl-1.20: test 'invariant' propagation influence on globals matching

2018-09-04 Thread Danylo Piliaiev
Global variable defined in several shaders of one stage should not cause "mismatched qualifiers" linking error when invariance is being propagated on it in one shader. Signed-off-by: Danylo Piliaiev --- .../invariant-propagation-globals.shader_test | 29 +++ 1 file c

[Piglit] [PATCH] glsl-1.20: test that 'invariant' qualifier does not propagate on uniforms

2018-08-22 Thread Danylo Piliaiev
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100316 Signed-off-by: Danylo Piliaiev --- .../linker/invariant-propagation.shader_test | 25 +++ 1 file changed, 25 insertions(+) create mode 100644 tests/spec/glsl-1.20/linker/invariant-propagation.shader_test diff

[Piglit] [PATCH] glsl-1.10: add a 'initialization-incompatible-type-propagation' test

2018-08-15 Thread Danylo Piliaiev
This tests the case when initialising with incompatible type changed a type of the variable being initialized. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107547 Signed-off-by: Danylo Piliaiev --- I'm not sure if it's a proper way to test this. The compilation is intended t

[Piglit] [PATCH] crucible: Fix all format-security issues

2018-07-25 Thread Danylo Piliaiev
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107374 Signed-off-by: Danylo Piliaiev --- src/framework/test/t_dump.c| 2 +- src/framework/test/t_result.c | 6 +++--- src/tests/self/concurrent-output.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a

[Piglit] [PATCH] crucible/ssbo/interleave: Fix incorrect verification of the result

2018-07-25 Thread Danylo Piliaiev
=107371 Signed-off-by: Danylo Piliaiev --- src/tests/func/ssbo/interleave.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/tests/func/ssbo/interleave.c b/src/tests/func/ssbo/interleave.c index 6b42e75..282effa 100644 --- a/src/tests/func/ssbo/interleave.c +++ b

Re: [Piglit] [PATCH v2] arb_shader_image_load_store: Test format incompatible texture buffer

2018-07-23 Thread Danylo Piliaiev
On 20.07.18 23:19, Francisco Jerez wrote: Danylo Piliaiev writes: On 20.07.18 17:04, Danylo Piliaiev wrote: On 20.07.18 02:26, Francisco Jerez wrote: Danylo Piliaiev writes: Test for the regression which happened when GL_TEXTURE_BUFFER was allowed to have incompatible format. v2

[Piglit] [PATCH v3] arb_shader_image_load_store: Test format incompatible texture buffer

2018-07-23 Thread Danylo Piliaiev
. (Francisco Jerez) Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106465 Signed-off-by: Danylo Piliaiev Reviewed-by: Francisco Jerez --- .../arb_shader_image_load_store/invalid.c | 19 ++- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/tests/spec

Re: [Piglit] [PATCH v2] arb_shader_image_load_store: Test format incompatible texture buffer

2018-07-20 Thread Danylo Piliaiev
On 20.07.18 17:04, Danylo Piliaiev wrote: On 20.07.18 02:26, Francisco Jerez wrote: Danylo Piliaiev writes: Test for the regression which happened when GL_TEXTURE_BUFFER was allowed to have incompatible format. v2: Removed unnecessary code duplication - use upload_image instead   of

Re: [Piglit] [PATCH v2] arb_shader_image_load_store: Test format incompatible texture buffer

2018-07-20 Thread Danylo Piliaiev
On 20.07.18 02:26, Francisco Jerez wrote: Danylo Piliaiev writes: Test for the regression which happened when GL_TEXTURE_BUFFER was allowed to have incompatible format. v2: Removed unnecessary code duplication - use upload_image instead of init_level. (Francisco Jerez) Bugzilla

[Piglit] [PATCH v2] arb_shader_image_load_store: Test format incompatible texture buffer

2018-07-19 Thread Danylo Piliaiev
Test for the regression which happened when GL_TEXTURE_BUFFER was allowed to have incompatible format. v2: Removed unnecessary code duplication - use upload_image instead of init_level. (Francisco Jerez) Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106465 Signed-off-by: Danylo

Re: [Piglit] [PATCH] arb_shader_image_load_store: Test format incompatible texture buffer

2018-07-19 Thread Danylo Piliaiev
On 18.07.18 22:08, Francisco Jerez wrote: Danylo Piliaiev writes: On 18.07.18 00:01, Francisco Jerez wrote: Danylo Piliaiev writes: Test for the regression which happened when GL_TEXTURE_BUFFER was allowed to have incompatible format. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi

Re: [Piglit] [PATCH] arb_shader_image_load_store: Test format incompatible texture buffer

2018-07-18 Thread Danylo Piliaiev
On 18.07.18 00:01, Francisco Jerez wrote: Danylo Piliaiev writes: Test for the regression which happened when GL_TEXTURE_BUFFER was allowed to have incompatible format. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106465 Signed-off-by: Danylo Piliaiev

[Piglit] [PATCH] arb_shader_image_load_store: Test format incompatible texture buffer

2018-07-17 Thread Danylo Piliaiev
Test for the regression which happened when GL_TEXTURE_BUFFER was allowed to have incompatible format. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106465 Signed-off-by: Danylo Piliaiev --- .../arb_shader_image_load_store/invalid.c | 54 +-- 1 file changed, 49

[Piglit] [PATCH v3] arb_blend_func_extended: Test dual src blending without second color output

2018-07-09 Thread Danylo Piliaiev
supports_gl_compat_version = 30 - Moved drawing to piglit_display - Change drawing sequence to: clear red -> draw -> clear green v3: by Dylan Baker - Removed run_concurrent=False Signed-off-by: Danylo Piliaiev --- tests/opengl.py | 2 + .../exe

[Piglit] [PATCH v2] arb_blend_func_extended: Test dual src blending without second color output

2018-07-06 Thread Danylo Piliaiev
supports_gl_compat_version = 30 - Moved drawing to piglit_display - Change drawing sequence to: clear red -> draw -> clear green Signed-off-by: Danylo Piliaiev --- tests/opengl.py | 2 + .../execution/CMakeLists.gl.txt | 1 + .../exe

Re: [Piglit] [PATCH] arb_blend_func_extended: Test dual src blending without second color output

2018-07-06 Thread Danylo Piliaiev
Thank you for the feedback, I'll send fixed version soon. On 06.07.18 16:48, Ilia Mirkin wrote: On Fri, Jul 6, 2018 at 4:51 AM, Danylo Piliaiev wrote: Using fragment shader without second color output should not hang gpu when dual source blending is enabled. It hanged Intel gen8+ GPUs

[Piglit] [PATCH] arb_blend_func_extended: Test dual src blending without second color output

2018-07-06 Thread Danylo Piliaiev
Using fragment shader without second color output should not hang gpu when dual source blending is enabled. It hanged Intel gen8+ GPUs when discarding fragments and depth test being enabled. There is also safeguard against lack of second color output in radeonsi. Signed-off-by: Danylo Piliaiev

Re: [Piglit] [PATCH v2] arb_provoking_vertex: Test flat shading with clipped geometry

2018-06-14 Thread danylo
hich have distinct color from vertices left on screen. -Danil On 14.06.18 15:35, Brian Paul wrote: Does this test do anything that isn't already done by the existing clipflat.c test? -Brian On 06/14/2018 03:41 AM, Danylo Piliaiev wrote: There is a hardware bug in i965/gen9+ with pro

[Piglit] [PATCH v2] arb_provoking_vertex: Test flat shading with clipped geometry

2018-06-14 Thread Danylo Piliaiev
also provide workaround later. Signed-off-by: Danylo Piliaiev --- tests/opengl.py| 1 + tests/spec/arb_provoking_vertex/CMakeLists.gl.txt | 1 + .../clipped-geometry-flatshading.c | 81 ++ 3 files changed, 83 insertions

[Piglit] [PATCH] arb_provoking_vertex: Test flat shading with clipped geometry

2018-06-13 Thread danylo . piliaiev
From: Danylo Piliaiev Clipper can mess up provoking vertex. Ref: https://bugs.freedesktop.org/show_bug.cgi?id=103047 Signed-off-by: Danylo Piliaiev --- tests/opengl.py| 1 + tests/spec/arb_provoking_vertex/CMakeLists.gl.txt | 1 + .../clipped-geometry