gallium/u_upload_mgr: reduce dereferences by adding buffer_size
authorMarek Olšák <marek.olsak@amd.com>
Fri, 24 Jan 2020 01:35:48 +0000 (20:35 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 14 Feb 2020 23:16:27 +0000 (18:16 -0500)
commit19c18d532e848bb129f0b24d694fecafecad07fb
tree38e69e9b5a6285eba4813f57ae75de03e135b209
parent909a2d0ed3878e4254b36d6bf8e125e0c7b1e586
gallium/u_upload_mgr: reduce dereferences by adding buffer_size

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3829>
src/gallium/auxiliary/util/u_upload_mgr.c