nvk: Update to the new command buffer infrastructure
authorFaith Ekstrand <faith.ekstrand@collabora.com>
Tue, 31 Jan 2023 02:11:56 +0000 (20:11 -0600)
committerMarge Bot <emma+marge@anholt.net>
Fri, 4 Aug 2023 21:31:58 +0000 (21:31 +0000)
commit6ba98ca4a10d4bc941fb38b7d035615c864ab694
treedf10f73737f5394c465bfa2669cfbf92431684b3
parentfa8be32aece0e4baa6d8b05ad191db2403f3c0d6
nvk: Update to the new command buffer infrastructure

We leave nvk_command_pool because we'll want to use it for recycling
individual pushbufs.  Drop reset_on_submit becuse there was never really
that much point in that micro-optimization and it isn't thread-safe
anyway if we recycle things in the pool.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
src/nouveau/vulkan/nvk_cmd_buffer.c
src/nouveau/vulkan/nvk_cmd_buffer.h
src/nouveau/vulkan/nvk_cmd_copy.c
src/nouveau/vulkan/nvk_device.c