[Piglit] [PATCH 00/14] Add DSA tests for vertex array objects
Fredrik Höglund
fredrik at kde.org
Tue Mar 31 10:26:32 PDT 2015
This series adds piglit tests for the VAO portion of
GL_ARB_direct_state_access.
The tests are written so that they can be run against either the core
or compatibility profiles. The exception is vao-core and vao-compatibility,
which contain all the profile specific tests.
Note that vao-attrib-format fails without this patch:
http://patchwork.freedesktop.org/patch/44068
It would be interesting to know if the tests pass with NVIDIA's
implementation, but I haven't been able to test that.
Fredrik Höglund (14):
dsa/utils: Add check_indexed_vao_param()
dsa/utils: Add check_vbo_binding()
arb_direct_state_access: Add a test for glCreateVertexArrays
arb_direct_state_access: Add a test for glEnable/DisableVertexArrayAttrib
arb_direct_state_access: Add a test for glVertexArrayAttrib[I|L]Format
arb_direct_state_access: Add a test for glVertexArrayAttribBinding
arb_direct_state_access: Add a test for glVertexArrayBindingDivisor
arb_direct_state_access: Add a test for glVertexArrayElementBuffer
arb_direct_state_access: Add a test for glVertexArrayVertexBuffer
arb_direct_state_access: Add a test for glVertexArrayVertexBuffers
arb_direct_state_access: Add a test for glGetVertexArray*iv
arb_direct_state_access: Add a core-profile test
arb_direct_state_access: Add a compatibility-profile test
arb_direct_state_access: Add a compatibility-profile draw test
tests/all.py | 12 +
.../spec/arb_direct_state_access/CMakeLists.gl.txt | 12 +
tests/spec/arb_direct_state_access/dsa-utils.c | 36 +
tests/spec/arb_direct_state_access/dsa-utils.h | 15 +
.../arb_direct_state_access/vao-attrib-binding.c | 132 ++++
.../vao-attrib-enabledisable.c | 127 ++++
.../arb_direct_state_access/vao-attrib-format.c | 791 +++++++++++++++++++++
.../arb_direct_state_access/vao-binding-divisor.c | 119 ++++
.../spec/arb_direct_state_access/vao-compat-draw.c | 171 +++++
tests/spec/arb_direct_state_access/vao-compat.c | 199 ++++++
tests/spec/arb_direct_state_access/vao-core.c | 186 +++++
tests/spec/arb_direct_state_access/vao-create.c | 143 ++++
.../vao-element-array-buffer.c | 123 ++++
tests/spec/arb_direct_state_access/vao-get.c | 285 ++++++++
.../arb_direct_state_access/vao-vertex-buffer.c | 140 ++++
.../arb_direct_state_access/vao-vertex-buffers.c | 351 +++++++++
16 files changed, 2842 insertions(+)
More information about the Piglit
mailing list