mesa: remove invalid assertion in _mesa_enable_vertex_array_attrib()
authorBrian Paul <brianp@vmware.com>
Tue, 30 Jan 2018 17:11:49 +0000 (10:11 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 30 Jan 2018 18:02:43 +0000 (11:02 -0700)
commit1a9aa69ae85d7eb1baae1f2ee6af84d6fbd22de7
tree13f5dcd0b86736252e03879757472b0589de1106
parentefa0993eafcc3b8e61e8331f1c1d377790d7f027
mesa: remove invalid assertion in _mesa_enable_vertex_array_attrib()

The meta module passes some 0-based attrib values.  Should fix Piglit
regressions reported by Mark Janes.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104863
Fixes: 4ab7e03e1fc7ac ("mesa: add an assertion in
_mesa_enable_vertex_array_attrib()")
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/mesa/main/varray.c