tests: Add test for huge client arrays that has to be split.
authorPauli Nieminen <suokkos@gmail.com>
Sun, 21 Mar 2010 11:11:47 +0000 (13:11 +0200)
committerPauli Nieminen <suokkos@gmail.com>
Sun, 21 Mar 2010 11:17:52 +0000 (13:17 +0200)
commita81cd67a4f37233319281a69385f07feaa97fd13
tree811219ec398b1c044851167f3c79eb6f7ee16388
parent3d72c4ae78cfdad7d160b0960adb792cbbbb863b
tests: Add test for huge client arrays that has to be split.

When running this test case in valgrind report includes read of unitialized
value in _tnl_draw_prims. The bug doesn't cause any vissible errors.

Bug is caused by vbo_split_copy that is calling draw function with max_index
one past the end instead of the end.
progs/tests/Makefile
progs/tests/cva_huge.c [new file with mode: 0644]