vulkan: Add a common vkResetCommandBuffer() implementation
authorJason Ekstrand <jason.ekstrand@collabora.com>
Tue, 30 Aug 2022 16:30:10 +0000 (11:30 -0500)
committerMarge Bot <emma+marge@anholt.net>
Thu, 1 Sep 2022 20:17:25 +0000 (20:17 +0000)
commitf2288cca47c980097089774a7e6e9cbd05ab67c9
tree3582b2c0ab1e5b2def54f6ff936cd37ceff0821a
parent44ab076fea7969024928c1321a41845e66588635
vulkan: Add a common vkResetCommandBuffer() implementation

This is little more than a wrapper around a function pointer at present
so it doesn't really gain the driver much to use it.  The new callback
will, however, be put to good use in the next commit.

Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18324>
src/vulkan/runtime/vk_command_buffer.c
src/vulkan/runtime/vk_command_buffer.h