vbo/dlist: use buffer_in_ram_size
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Tue, 10 Aug 2021 18:06:09 +0000 (20:06 +0200)
committerPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Thu, 9 Sep 2021 14:42:16 +0000 (16:42 +0200)
commitedd77338267a64aae82e18cf5e5203fd73d596f4
treec7adc5c0d76c72aff19fc3ab15062fed3340c366
parentb0853d0ada06da840bf8c9fd3a69545dbcadb96a
vbo/dlist: use buffer_in_ram_size

The next commit will refactor buffer upload so we need to decouple
the size from the CPU buffer holding the vertices from the size of
the GPU buffer where we're uploading them.

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