anv: reuse cmd_buffer::total_batch_size
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 11 Aug 2023 09:14:32 +0000 (12:14 +0300)
committerMarge Bot <emma+marge@anholt.net>
Tue, 5 Sep 2023 11:50:02 +0000 (11:50 +0000)
commit2108742257d4ef72cc98c9bccc7ec82e34332759
tree2cab7b1d9c04b82614a89bdf00060f7e6c7758b8
parent94e3e05b93c3c0770430b8cc741ad4c3a4dd7c49
anv: reuse cmd_buffer::total_batch_size

This was left unused after 624ac55721 ("anv: move total_batch_size to
anv_batch"). We're now going to use it to store the total amount of
commands written in a command buffer.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24628>
src/intel/vulkan/anv_batch_chain.c
src/intel/vulkan/anv_private.h