nvk: add command stream upload buffer.
authorDave Airlie <airlied@redhat.com>
Mon, 6 Jun 2022 03:53:17 +0000 (13:53 +1000)
committerMarge Bot <emma+marge@anholt.net>
Fri, 4 Aug 2023 21:31:54 +0000 (21:31 +0000)
commit0870cd87196d1deada58993b27e46afcf338c497
tree97bc82bcb962521c4d9c3dfcf4b4e3a6aaceda07
parentc8805f45447f1240c8b16a10f9101df69bc0ca62
nvk: add command stream upload buffer.

This is an upload buffer that is kept beside the command buffer.

It can be used to allocate any per command buffer gpu state that
doesn't fit in the cmd stream.

compute dispatches will go in here for now.

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