[Piglit] [PATCH 0/4] program_interface_query: tests for getprograminterfaceiv and getprogramresourceindex/name
Martin Peres
martin.peres at linux.intel.com
Wed Mar 25 09:01:28 PDT 2015
This patchset provides tests for getprograminterfaceiv,
getprogramresourceindex and getprogramresourcename.
The first patch is a functional test that tries a lot of different program
pipelines and checks that getprograminterfaceiv returns valid values. These
values are then checked iteratively by calling getprogramresourceindex and
getprogramresourcename. Sorry about the big table that smashes the 80-column
limit...
The other tests are more specific and are checking the error paths or more
complex cases. Patch 3/4 superseeds the already-existing resource-index.c
test which thus gets deleted.
All the patches have been written against NVIDIA's proprietary driver (346.35)
which passes the majority of the tests. All the tests pass on Tapani's
implementation for mesa.
Martin Peres (4):
program_interface_query: add tests for querying the resources
program_interface_query: add tests for getprograminterfaceiv
program_interface_query: add tests for getprogramresourceindex
program_interface_query: add tests for getprogramresourcename
tests/all.py | 5 +-
.../arb_program_interface_query/CMakeLists.gl.txt | 5 +-
tests/spec/arb_program_interface_query/common.h | 269 ++++++++
.../getprograminterfaceiv.c | 202 ++++++
.../getprogramresourceindex.c | 338 ++++++++++
.../getprogramresourcename.c | 177 +++++
.../arb_program_interface_query/resource-index.c | 284 --------
.../arb_program_interface_query/resource-query.c | 741 +++++++++++++++++++++
8 files changed, 1735 insertions(+), 286 deletions(-)
mode change 100644 => 100755 tests/all.py
mode change 100644 => 100755 tests/spec/arb_program_interface_query/CMakeLists.gl.txt
create mode 100755 tests/spec/arb_program_interface_query/common.h
create mode 100755 tests/spec/arb_program_interface_query/getprograminterfaceiv.c
create mode 100755 tests/spec/arb_program_interface_query/getprogramresourceindex.c
create mode 100755 tests/spec/arb_program_interface_query/getprogramresourcename.c
delete mode 100644 tests/spec/arb_program_interface_query/resource-index.c
create mode 100755 tests/spec/arb_program_interface_query/resource-query.c
--
2.3.4
More information about the Piglit
mailing list