summaryrefslogtreecommitdiff
path: root/tests/deqp_gles3.py
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2015-06-18 17:57:51 -0600
committerBrian Paul <brianp@vmware.com>2015-06-23 08:54:07 -0600
commit1ff30581859d6aa34d807dca8f941cc6be3aae08 (patch)
treee199d6ea4e9a753c2c0e53d8d8498e24f5b59c69 /tests/deqp_gles3.py
parent7e0d007540d4c10dc7829dfe2f7609c481d36eff (diff)
gl-1.5-vertex-buffer-offsets: test unusual vertex offsets/strides
The draw-vertices tests exercises unusual vertex sizes and strides, but not with interleaved arrays. This test creates a VBO with interleaved vertex positions and colors. The colors are positioned at offsets like 9, 10 and 11 bytes from the start of the vertex. Unusual strides between vertices are tested too. Exercises a bug in Gallium's u_vbuf code where the driver was passed pipe_vertex_element::src_offset values which weren't a multiple of four, even when PIPE_CAP_VERTEX_ELEMENT_SRC_OFFSET_4BYTE_ALIGNED_ONLY returned 1. v2: add more comments, specifically describing Flockers. Return "warn" if a test fails, not "fail". Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'tests/deqp_gles3.py')
0 files changed, 0 insertions, 0 deletions