nvk: Implement nvk_CmdDispatchBase and delete nvk_CmdDispatch
authorRebecca Mckeever <rebecca.mckeever@collabora.com>
Fri, 9 Dec 2022 22:33:41 +0000 (16:33 -0600)
committerMarge Bot <emma+marge@anholt.net>
Fri, 4 Aug 2023 21:32:02 +0000 (21:32 +0000)
commitd471da3f9509d646c07675d92b4ec8ceb7fe81da
treed6b66a69d2ba6ba344b5acddf4ce8c3b65a5c2dc
parent3fb732ad7dade313a22d2628a50977a00460757b
nvk: Implement nvk_CmdDispatchBase and delete nvk_CmdDispatch

Implement nvk_CmdDispatchBase() and then delete nvk_CmdDispatch() so that
the vk_common verion with be used instead. This will avoid repeated code.
Update nvk_CmdDispatchIndirect() so that it sets the three base_group
fields of the root descriptor table to 0.

Signed-off-by: Rebecca Mckeever <rebecca.mckeever@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
src/nouveau/vulkan/nvk_cmd_dispatch.c