vbo: use inputs_read var to simplify code
authorBrian Paul <brianp@vmware.com>
Tue, 16 Jan 2018 16:31:01 +0000 (09:31 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 17 Jan 2018 18:17:56 +0000 (11:17 -0700)
commitf5140c1a6bf63f839070502dc4c9cca34c6955cc
tree70552d0fa9b750fca1748b7d2bc1a9723ffa49dc
parente6e78d98a27f15892bda046b978b9db2deb9abd4
vbo: use inputs_read var to simplify code

v2: add some const qualifiers, per Ian.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/mesa/vbo/vbo_exec_draw.c
src/mesa/vbo/vbo_save_draw.c