vbo: set min_index = 0 so gallium can use the value directly
authorMarek Olšák <marek.olsak@amd.com>
Tue, 25 Apr 2017 22:28:05 +0000 (00:28 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 28 Apr 2017 19:46:44 +0000 (21:46 +0200)
commit53cd67859dd82c697c1a22654f6389181ec639ee
treeaf5eb1d961e8dfb561808a53a3129d4067d861ce
parentee70937d1513b616a63175d84507f308759a129d
vbo: set min_index = 0 so gallium can use the value directly

We could also remove index_bounds_valid and use max_index != ~0 instead.
Opinions on that are welcome.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/vbo/vbo_context.c
src/mesa/vbo/vbo_exec_array.c