vbo: use vbo_exec_wrap_upgrade_vertex for glVertex in ATTR_UNION
authorMarek Olšák <marek.olsak@amd.com>
Thu, 27 Feb 2020 20:46:11 +0000 (15:46 -0500)
committerMarge Bot <eric+marge@anholt.net>
Wed, 11 Mar 2020 18:45:28 +0000 (18:45 +0000)
commitec7d48afc40343bf314d28a7276500efb1e52361
treeff714c7bafe4f834a309f23df46449e316c10e89
parenta398a9d7e7f8fe19eaa0c33b36ab6816472b698c
vbo: use vbo_exec_wrap_upgrade_vertex for glVertex in ATTR_UNION

We can't decrease the size for glVertex before a flush,
so use vbo_exec_wrap_upgrade_vertex directly.

Reviewed-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3591>
src/mesa/vbo/vbo_exec_api.c