[Piglit] [v2] ARB_transform_feedback3 tests
Topi Pohjolainen
topi.pohjolainen at intel.com
Fri Oct 4 09:22:05 PDT 2013
This series is still work in progress. There is some overlap between
as I've been trying different things out in order to understand the
spec better.
The first test in the series experiments with mixed mode where
multiple attributes are recorded into multiple separate buffers.
Previously one could only operate using either multiple attributes
in single buffer or using multiple buffers each holding exactly one
attribute.
The second test makes use of the possibility of geometry shaders to
emit more than vertex stream. This test tries to use as many streams
as possible.
The third test is another flavour of the first test. Whereas the
first uses fixed amount of attributes (two) and maximum amount of
buffers, this test uses just two buffers and five attributes but
allows also to pipeline to execute the geometry stage maximum amount
of times while still using the same vertex stream.
The last test records vertices using multiple streams and re-draws
some of them.
These tests pass on 4.2.0 NVIDIA 304.88 binary driver.
Topi Pohjolainen (7):
tests/spec: relax config for EXT_transform_feedback separate
util: buffer object probe
tests/spec: ARB_transform_feedback3 interleaved in separate buffers
tests/spec: ARB_transform_feedback3 interleaved in multiple streams
tests/spec: ARB_transform_feedback3 interleaved in two buffers
tests/spec: relax config for ARB_transform_feedback2 redrawing
tests/spec: ARB_transform_feedback3 interleaved stream re-draw
tests/all.tests | 8 +
tests/spec/CMakeLists.txt | 1 +
tests/spec/arb_transform_feedback2/draw-auto.c | 4 +-
.../spec/arb_transform_feedback3/CMakeLists.gl.txt | 16 +
tests/spec/arb_transform_feedback3/CMakeLists.txt | 1 +
.../ext_interleaved_draw_streams.c | 388 +++++++++++++++++++++
.../ext_interleaved_single_gs_many_streams.c | 346 ++++++++++++++++++
.../ext_interleaved_single_stream_many_buffers.c | 332 ++++++++++++++++++
.../ext_interleaved_two_bufs.c | 295 ++++++++++++++++
tests/spec/arb_transform_feedback3/xfb3_common.h | 48 +++
tests/spec/ext_transform_feedback/separate.c | 37 +-
tests/util/piglit-util-gl-common.h | 4 +
tests/util/piglit-util-gl.c | 24 ++
13 files changed, 1475 insertions(+), 29 deletions(-)
create mode 100644 tests/spec/arb_transform_feedback3/CMakeLists.gl.txt
create mode 100644 tests/spec/arb_transform_feedback3/CMakeLists.txt
create mode 100644 tests/spec/arb_transform_feedback3/ext_interleaved_draw_streams.c
create mode 100644 tests/spec/arb_transform_feedback3/ext_interleaved_single_gs_many_streams.c
create mode 100644 tests/spec/arb_transform_feedback3/ext_interleaved_single_stream_many_buffers.c
create mode 100644 tests/spec/arb_transform_feedback3/ext_interleaved_two_bufs.c
create mode 100644 tests/spec/arb_transform_feedback3/xfb3_common.h
--
1.8.3.1
More information about the Piglit
mailing list