[Piglit] [PATCH v2 0/2] Add transform feedback testing with primitive-restart testing

Jordan Justen jordan.l.justen at intel.com
Mon Jul 2 13:19:00 PDT 2012


v2:
 * Support primitive restart on GL 3.1 & GL_NV_primitive_restart
 * Make sure index 0xff exists in the vertex array. Therefore if
   primitive restart is not working, then the number of generated
   primitives will increase, and this will cause an error to be
   generated.
 * Do not assert if a GL error is flagged.

v1:
 * Verify that when primitive restart is used,
   transform feedback also works.

Jordan Justen (2):
  util: add primitive restart util routines
  ext_transform_feedback: Test Tranform Feedback with Primitive Restart

 tests/all.tests                                    |    1 +
 .../spec/ext_transform_feedback/CMakeLists.gl.txt  |    1 +
 .../ext_transform_feedback/primitive-restart.c     |  115 ++++++++++++++++++++
 tests/util/CMakeLists.gl.txt                       |    2 +
 tests/util/piglit-core-ext-wrappers.c              |   66 +++++++++++
 tests/util/piglit-core-ext-wrappers.h              |   49 +++++++++
 tests/util/piglit-util.h                           |    1 +
 7 files changed, 235 insertions(+)
 create mode 100644 tests/spec/ext_transform_feedback/primitive-restart.c
 create mode 100644 tests/util/piglit-core-ext-wrappers.c
 create mode 100644 tests/util/piglit-core-ext-wrappers.h

-- 
1.7.9.5



More information about the Piglit mailing list