From 2ad1f8138771cef32b710f8c47d4c7beb3f4eab5 Mon Sep 17 00:00:00 2001 From: AdamYuan Date: Fri, 27 Dec 2024 02:11:28 +0800 Subject: Support dispatchComputeIndirect and draw(Indexed)Indirect with count buffer for Vulkan (#5929) * Support gfx ComputeCommandEncoder::dispatchComputeIndirect for Vulkan * Support count buffer for Vulkan in gfx RenderCommandEncoder::drawIndirect and RenderCommandEncoder::drawIndexedIndirect * Fix an unintended change * Fix format issue --------- Co-authored-by: Yong He --- tools/gfx/vulkan/vk-api.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools/gfx/vulkan/vk-api.h') diff --git a/tools/gfx/vulkan/vk-api.h b/tools/gfx/vulkan/vk-api.h index 8b86bc281..9d2535f09 100644 --- a/tools/gfx/vulkan/vk-api.h +++ b/tools/gfx/vulkan/vk-api.h @@ -86,10 +86,13 @@ namespace gfx x(vkCmdFillBuffer) \ x(vkCmdBindDescriptorSets) \ x(vkCmdDispatch) \ + x(vkCmdDispatchIndirect) \ x(vkCmdDraw) \ x(vkCmdDrawIndexed) \ x(vkCmdDrawIndirect) \ + x(vkCmdDrawIndirectCount) \ x(vkCmdDrawIndexedIndirect) \ + x(vkCmdDrawIndexedIndirectCount) \ x(vkCmdSetScissor) \ x(vkCmdSetViewport) \ x(vkCmdBindVertexBuffers) \ -- cgit v1.2.3