mesa: port the LastLookedUpVAO optimisation to _mesa_lookup_vao()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 24 Aug 2017 13:53:34 +0000 (15:53 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 25 Aug 2017 09:11:54 +0000 (11:11 +0200)
commit5946806064db29f6bf13a44307326be4d1a0f3f4
tree2512b2e649e6ff2f8a09c795657bdcc5c1a438bf
parent08ee28b6a86ff85eb1d4ac4b72be2aaf07f83729
mesa: port the LastLookedUpVAO optimisation to _mesa_lookup_vao()

It was only used in the errors path.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/mesa/main/arrayobj.c