[Piglit] [PATCH] ext_texture_norm16-render: support EXT_render_snorm interactions

2018-06-01 Thread Tapani Pälli
Signed-off-by: Tapani Pälli --- tests/spec/ext_texture_norm16/render.c | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/tests/spec/ext_texture_norm16/render.c b/tests/spec/ext_texture_norm16/render.c index 32f601ad0..14299569a 100644 ---

[Piglit] [PATCH 04/13] arb_shader_storage_buffer: Add tests for atomic{Min, Max}({u, }int, {u, }int)

2018-06-01 Thread Ian Romanick
From: Ian Romanick Signed-off-by: Ian Romanick --- .../execution/ssbo-atomicMax-int.shader_test | 139 .../execution/ssbo-atomicMax-uint.shader_test | 139 .../execution/ssbo-atomicMin-int.shader_test | 140 +

[Piglit] [PATCH 13/13] nv_shader_atomic_float: Add tests for atomicExchange(float, float)

2018-06-01 Thread Ian Romanick
From: Ian Romanick Signed-off-by: Ian Romanick --- .../shared-atomicExchange-float.shader_test| 77 + .../ssbo-atomicExchange-float.shader_test | 78 ++ 2 files changed, 155 insertions(+) create mode 100644

[Piglit] [PATCH 12/13] nv_shader_atomic_float: Add tests for atomicAdd(float, float)

2018-06-01 Thread Ian Romanick
From: Ian Romanick Signed-off-by: Ian Romanick --- .../execution/shared-atomicAdd-float.shader_test | 59 ++ .../execution/ssbo-atomicAdd-float.shader_test | 70 ++ 2 files changed, 129 insertions(+) create mode 100644

[Piglit] [PATCH 08/13] arb_compute_shader: Add tests for atomic{Min, Max}({u, }int, {u, }int)

2018-06-01 Thread Ian Romanick
From: Ian Romanick Signed-off-by: Ian Romanick --- .../execution/shared-atomicMax-int.shader_test | 137 .../execution/shared-atomicMax-uint.shader_test| 137 .../execution/shared-atomicMin-int.shader_test | 141 +

[Piglit] [PATCH 03/13] arb_shader_storage_buffer: Add test for atomicExchange(int, int)

2018-06-01 Thread Ian Romanick
From: Ian Romanick Signed-off-by: Ian Romanick --- .../execution/ssbo-atomicExchange-int.shader_test | 76 ++ 1 file changed, 76 insertions(+) create mode 100644 tests/spec/arb_shader_storage_buffer_object/execution/ssbo-atomicExchange-int.shader_test diff --git

[Piglit] [PATCH 02/13] arb_shader_storage_buffer: Add test for atomicAdd(int, int)

2018-06-01 Thread Ian Romanick
From: Ian Romanick Signed-off-by: Ian Romanick --- .../execution/ssbo-atomicAdd-int.shader_test | 68 ++ 1 file changed, 68 insertions(+) create mode 100644 tests/spec/arb_shader_storage_buffer_object/execution/ssbo-atomicAdd-int.shader_test diff --git

[Piglit] [PATCH 06/13] arb_compute_shader: Add test for atomicAdd(int, int)

2018-06-01 Thread Ian Romanick
From: Ian Romanick Signed-off-by: Ian Romanick --- .../execution/shared-atomicAdd-int.shader_test | 57 ++ 1 file changed, 57 insertions(+) create mode 100644 tests/spec/arb_compute_shader/execution/shared-atomicAdd-int.shader_test diff --git

[Piglit] [PARTCH 00/13] More tests for atomics

2018-06-01 Thread Ian Romanick
This series has two parts. The second part adds tests for NV_shader_atomic_float. I worked on an implementation of this extension for i965 until I realized the hardware couldn't actually do it. I had the tests, so it seems a shame to let them rot in a branch somewhere. Patches 10, 11, and 13

[Piglit] [PATCH 11/13] nv_shader_atomic_float: Simple negative compile tests

2018-06-01 Thread Ian Romanick
From: Ian Romanick If the extension isn't enabled in the shader, the functions should not be availale. Yes, I botched the SSBO and shared variable parts in the initial implementation. Signed-off-by: Ian Romanick --- .../imageAtomicAdd-float-image2D-fail.frag | 20

[Piglit] [PATCH 05/13] arb_shader_storage_buffer: Add test for atomicCompSwap(int, int, int)

2018-06-01 Thread Ian Romanick
From: Ian Romanick Signed-off-by: Ian Romanick --- .../execution/ssbo-atomicCompSwap-int.shader_test | 75 ++ 1 file changed, 75 insertions(+) create mode 100644 tests/spec/arb_shader_storage_buffer_object/execution/ssbo-atomicCompSwap-int.shader_test diff --git

[Piglit] [PATCH 01/13] shader_runner: Allow initializing integer fields of an SSBO

2018-06-01 Thread Ian Romanick
From: Ian Romanick v2: Use %i for the "data" parameter so that hex values can be specified. Signed-off-by: Ian Romanick --- tests/shaders/shader_runner.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/shaders/shader_runner.c b/tests/shaders/shader_runner.c index

[Piglit] [PATCH 10/13] nv_shader_atomic_float: Compile tests for all imageAtomic variants

2018-06-01 Thread Ian Romanick
From: Ian Romanick Verify all versions of imageAtomicAdd and imageAtomicExchnage exist. "Positive" compile testing for all the other functions will be handled by the execution tests. I'm much too lazy to write execution tests for all the variants of imageAtomicAdd and imageAtomicExchange.

[Piglit] [PATCH 07/13] arb_compute_shader: Add test for atomicExchange(int, int)

2018-06-01 Thread Ian Romanick
From: Ian Romanick Signed-off-by: Ian Romanick --- .../shared-atomicExchange-int.shader_test | 75 ++ 1 file changed, 75 insertions(+) create mode 100644 tests/spec/arb_compute_shader/execution/shared-atomicExchange-int.shader_test diff --git

[Piglit] [PATCH 09/13] arb_compute_shader: Add test for atomicCompSwap(int, int, int)

2018-06-01 Thread Ian Romanick
From: Ian Romanick Signed-off-by: Ian Romanick --- .../shared-atomicCompSwap-int.shader_test | 64 ++ 1 file changed, 64 insertions(+) create mode 100644 tests/spec/arb_compute_shader/execution/shared-atomicCompSwap-int.shader_test diff --git