Commit 968d5572 authored by Eric Anholt's avatar Eric Anholt

gl-1.1: Add a new test for large vertex counts.

There's a limitation on VC4 where it can only handle 65536 verts at a
time in a glDrawArrays(), so the driver needs to split up the calls.
This tests that path for all the primitive types.

v2: handle error from glMapBuffer().
Reviewed-by: default avatarIan Romanick <>
parent dce99851
......@@ -712,6 +712,13 @@ with profile.test_list.group_manager(
g(['getteximage-targets', '2D'])
for mode in ['varray', 'vbo']:
g(['gl-1.1-drawarrays-vertex-count', '100000', mode, prim])
add_msaa_visual_plain_tests(g, ['draw-pixels'])
add_msaa_visual_plain_tests(g, ['read-front'], run_concurrent=False)
add_msaa_visual_plain_tests(g, ['read-front', 'clear-front-first'],
......@@ -10,6 +10,7 @@ link_libraries (
piglit_add_executable (gl-1.1-color-material-array color-material-array.c)
piglit_add_executable (gl-1.1-draw-arrays-start draw-arrays-start.c)
piglit_add_executable (gl-1.1-drawarrays-vertex-count drawarrays-vertex-count.c)
piglit_add_executable (gl-1.1-read-pixels-after-display-list read-pixels-after-display-list.c)
piglit_add_executable (gl-1.1-set-vertex-color-after-draw set-vertex-color-after-draw.c)
piglit_add_executable (gl-1.1-xor xor.c)
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment