Hi there,

This patch adds some tests for ARB_compute_variable_group_size which is
written against GL 4.3. All tests pass with NVIDIA blob 370.23 on Fermi.

I'm currently implementing the extension in mesa, most of the tests
currently pass as well, but adding the new gl_LocalGroupSizeARB compute
built-in is a bit tricky.

Please review,
Thanks!

Samuel Pitoiset (1):
  add ARB_compute_variable_group_size tests

 tests/all.py                                       |   8 +
 tests/spec/CMakeLists.txt                          |   1 +
 .../CMakeLists.gl.txt                              |  16 ++
 .../arb_compute_variable_group_size/CMakeLists.txt |   1 +
 tests/spec/arb_compute_variable_group_size/basic.c | 168 ++++++++++++++
 .../compiler/do_nothing.comp                       |  14 ++
 .../compiler/gl_LocalGroupSizeARB_illegal_use.comp |  28 +++
 .../compiler/gl_LocalGroupSizeARB_layout.comp      |  27 +++
 .../mixed_fixed_variable_local_work_size.comp      |  23 ++
 .../spec/arb_compute_variable_group_size/errors.c  | 249 +++++++++++++++++++++
 ...ixed_fixed_variable_local_work_size.shader_test |  36 +++
 .../linker/no_local_size_specified.shader_test     |  32 +++
 .../spec/arb_compute_variable_group_size/minmax.c  |  65 ++++++
 13 files changed, 668 insertions(+)
 create mode 100644 tests/spec/arb_compute_variable_group_size/CMakeLists.gl.txt
 create mode 100644 tests/spec/arb_compute_variable_group_size/CMakeLists.txt
 create mode 100644 tests/spec/arb_compute_variable_group_size/basic.c
 create mode 100644 
tests/spec/arb_compute_variable_group_size/compiler/do_nothing.comp
 create mode 100644 
tests/spec/arb_compute_variable_group_size/compiler/gl_LocalGroupSizeARB_illegal_use.comp
 create mode 100644 
tests/spec/arb_compute_variable_group_size/compiler/gl_LocalGroupSizeARB_layout.comp
 create mode 100644 
tests/spec/arb_compute_variable_group_size/compiler/mixed_fixed_variable_local_work_size.comp
 create mode 100644 tests/spec/arb_compute_variable_group_size/errors.c
 create mode 100644 
tests/spec/arb_compute_variable_group_size/linker/mixed_fixed_variable_local_work_size.shader_test
 create mode 100644 
tests/spec/arb_compute_variable_group_size/linker/no_local_size_specified.shader_test
 create mode 100644 tests/spec/arb_compute_variable_group_size/minmax.c

-- 
2.9.3

_______________________________________________
Piglit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to