vbo: delay vbo_exec_vtx_map call
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Wed, 9 Jun 2021 08:26:14 +0000 (10:26 +0200)
committerPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Thu, 17 Jun 2021 07:10:29 +0000 (09:10 +0200)
commit84dca32c51e9f70b20515afd304826091c775a92
treeba76533d3e2ad3272dafe2b9ecdf473b4f424a22
parent3333a96b6fed7020c70af5809c791a3875b5b19a
vbo: delay vbo_exec_vtx_map call

Instead of doing vbo_exec_vtx_map during initialization,
defer it until the first actual user.

v2: move init to vbo_exec_wrap_upgrade_vertex (Emma Anholt)

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11296>
src/mesa/vbo/vbo_exec_api.c