diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-06-12 10:07:52 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:35 +0200 |
commit | ea038d66538975319858f792052af1d0fa997fe3 (patch) | |
tree | 472905d458f31cdcfffcf45a41c276f91094d1b4 /src/video_core/vulkan_common/vulkan_wrapper.h | |
parent | shader: Reorder shader cache directories (diff) | |
download | yuzu-ea038d66538975319858f792052af1d0fa997fe3.tar yuzu-ea038d66538975319858f792052af1d0fa997fe3.tar.gz yuzu-ea038d66538975319858f792052af1d0fa997fe3.tar.bz2 yuzu-ea038d66538975319858f792052af1d0fa997fe3.tar.lz yuzu-ea038d66538975319858f792052af1d0fa997fe3.tar.xz yuzu-ea038d66538975319858f792052af1d0fa997fe3.tar.zst yuzu-ea038d66538975319858f792052af1d0fa997fe3.zip |
Diffstat (limited to 'src/video_core/vulkan_common/vulkan_wrapper.h')
-rw-r--r-- | src/video_core/vulkan_common/vulkan_wrapper.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/video_core/vulkan_common/vulkan_wrapper.h b/src/video_core/vulkan_common/vulkan_wrapper.h index 3e36d356a..6e5be1186 100644 --- a/src/video_core/vulkan_common/vulkan_wrapper.h +++ b/src/video_core/vulkan_common/vulkan_wrapper.h @@ -238,6 +238,7 @@ struct DeviceDispatch : InstanceDispatch { PFN_vkCmdSetPrimitiveTopologyEXT vkCmdSetPrimitiveTopologyEXT{}; PFN_vkCmdSetStencilOpEXT vkCmdSetStencilOpEXT{}; PFN_vkCmdSetStencilTestEnableEXT vkCmdSetStencilTestEnableEXT{}; + PFN_vkCmdSetVertexInputEXT vkCmdSetVertexInputEXT{}; PFN_vkCmdResolveImage vkCmdResolveImage{}; PFN_vkCreateBuffer vkCreateBuffer{}; PFN_vkCreateBufferView vkCreateBufferView{}; @@ -1203,6 +1204,13 @@ public: dld->vkCmdSetStencilTestEnableEXT(handle, enable ? VK_TRUE : VK_FALSE); } + void SetVertexInputEXT( + vk::Span<VkVertexInputBindingDescription2EXT> bindings, + vk::Span<VkVertexInputAttributeDescription2EXT> attributes) const noexcept { + dld->vkCmdSetVertexInputEXT(handle, bindings.size(), bindings.data(), attributes.size(), + attributes.data()); + } + void BindTransformFeedbackBuffersEXT(u32 first, u32 count, const VkBuffer* buffers, const VkDeviceSize* offsets, const VkDeviceSize* sizes) const noexcept { |