[Piglit] Tests for arb_transform_feedback3 api-errors

Topi Pohjolainen topi.pohjolainen at intel.com
Tue Oct 22 15:48:18 CEST 2013


Here are tests for the non-NV error cases listed in the spec. Most
of them pass on NVIDIA expect a few - details in the invidual
patches.

Topi Pohjolainen (6):
  arb_transform_feedback3: add test for buffer binding with invalid
    index
  arb_transform_feedback3: add test for querying with invalid index
  arb_transform_feedback3: add test for ending non-active query
  arb_transform_feedback3: add test trying to draw an invalid stream
  arb_transform_feedback3: add test trying to set invalid varyings
  arb_transform_feedback3: add test trying to set invalid separate mode

 tests/all.tests                                    |   4 +
 .../spec/arb_transform_feedback3/CMakeLists.gl.txt |   6 +
 .../bind_buffer_invalid_index.c                    |  74 ++++++++
 .../draw_using_invalid_stream_index.c              |  67 ++++++++
 .../end_query_with_name_zero.c                     |  64 +++++++
 .../query_with_invalid_index.c                     |  71 ++++++++
 .../arb_transform_feedback3/set_invalid_varyings.c | 191 +++++++++++++++++++++
 .../set_varyings_with_invalid_args.c               | 121 +++++++++++++
 8 files changed, 598 insertions(+)
 create mode 100644 tests/spec/arb_transform_feedback3/bind_buffer_invalid_index.c
 create mode 100644 tests/spec/arb_transform_feedback3/draw_using_invalid_stream_index.c
 create mode 100644 tests/spec/arb_transform_feedback3/end_query_with_name_zero.c
 create mode 100644 tests/spec/arb_transform_feedback3/query_with_invalid_index.c
 create mode 100644 tests/spec/arb_transform_feedback3/set_invalid_varyings.c
 create mode 100644 tests/spec/arb_transform_feedback3/set_varyings_with_invalid_args.c

-- 
1.8.3.1



More information about the Piglit mailing list