anv: add a utility function to ensure command buffer space
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Sat, 26 Feb 2022 11:07:18 +0000 (13:07 +0200)
committerMarge Bot <emma+marge@anholt.net>
Tue, 13 Dec 2022 19:22:02 +0000 (19:22 +0000)
commitc9272e80b1ab539afd6bf7a2f500cb4d9c68e294
tree46f0a459112e853008680d9b0b5f9108caa7ea81
parent21e32e1f8dcfb9c01f604ec962d5c7bde72827f3
anv: add a utility function to ensure command buffer space

Ensuring the space is contiguous.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20295>
src/intel/vulkan/anv_batch_chain.c
src/intel/vulkan/anv_private.h