[Piglit] [PATCH 0/7] more ARB_explicit_uniform_location tests

Tapani Pälli tapani.palli at intel.com
Thu Mar 13 05:41:42 PDT 2014


Hi;

Here's more tests for the ARB_explicit_uniform_location extension.
I will still write more tests, especially for the unused uniforms and
structs later on. These are some of the cases I've thought so far
during the implementation.

These are skipped with current Mesa as it does not have the extension, 
however they all pass with following branch if want to test run:

http://cgit.freedesktop.org/~tpalli/mesa/log/?h=exp_uniform_loc


Tapani Pälli (7):
  ARB_explicit_uniform_location: test for uniform location boundary
    values
  ARB_explicit_uniform_location: test sequential array elements
  ARB_explicit_uniform_location: test too big uniform array size
  ARB_explicit_uniform_location: test overlapping location within array
  ARB_explicit_uniform_location: test overlapping locations
  ARB_explicit_uniform_location: test setting explicit location twice
  ARB_explicit_uniform_location: set location once but decl twice

 tests/all.py                                       |   7 ++
 .../CMakeLists.gl.txt                              |   7 ++
 .../arb_explicit_uniform_location/array-elements.c | 107 +++++++++++++++++++++
 .../arb_explicit_uniform_location/array-overlap.c  |  98 +++++++++++++++++++
 .../arb_explicit_uniform_location/array-toobig.c   | 105 ++++++++++++++++++++
 .../arb_explicit_uniform_location/loc-2different.c |  83 ++++++++++++++++
 .../arb_explicit_uniform_location/loc-minmax.c     | 107 +++++++++++++++++++++
 .../arb_explicit_uniform_location/loc-overlap.c    |  89 +++++++++++++++++
 .../arb_explicit_uniform_location/loc-setonce.c    |  84 ++++++++++++++++
 9 files changed, 687 insertions(+)
 create mode 100644 tests/spec/arb_explicit_uniform_location/array-elements.c
 create mode 100644 tests/spec/arb_explicit_uniform_location/array-overlap.c
 create mode 100644 tests/spec/arb_explicit_uniform_location/array-toobig.c
 create mode 100644 tests/spec/arb_explicit_uniform_location/loc-2different.c
 create mode 100644 tests/spec/arb_explicit_uniform_location/loc-minmax.c
 create mode 100644 tests/spec/arb_explicit_uniform_location/loc-overlap.c
 create mode 100644 tests/spec/arb_explicit_uniform_location/loc-setonce.c

-- 
1.8.3.1



More information about the Piglit mailing list