diff options
| author | AdamYuan <y13916619121@126.com> | 2024-12-27 02:11:28 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-26 10:11:28 -0800 |
| commit | 2ad1f8138771cef32b710f8c47d4c7beb3f4eab5 (patch) | |
| tree | 8b30da0a1b69d907e217b7c06221aa8ffb81bb57 /tools/gfx/vulkan/vk-api.h | |
| parent | 1b5679f9556b65c65146123ce98ca4f62fe71d72 (diff) | |
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 <yonghe@outlook.com>
Diffstat (limited to 'tools/gfx/vulkan/vk-api.h')
| -rw-r--r-- | tools/gfx/vulkan/vk-api.h | 3 |
1 files changed, 3 insertions, 0 deletions
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) \ |
