diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-06-25 10:21:51 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:39 +0200 |
commit | 57a8921e01a90ff5993079dd638a6c48e5781756 (patch) | |
tree | 90c7c3b044c85f08dd5c2341c87414062be7db17 /src/video_core/vulkan_common/vulkan_wrapper.h | |
parent | spirv: Fix code emission when descriptor aliasing is unsupported (diff) | |
download | yuzu-57a8921e01a90ff5993079dd638a6c48e5781756.tar yuzu-57a8921e01a90ff5993079dd638a6c48e5781756.tar.gz yuzu-57a8921e01a90ff5993079dd638a6c48e5781756.tar.bz2 yuzu-57a8921e01a90ff5993079dd638a6c48e5781756.tar.lz yuzu-57a8921e01a90ff5993079dd638a6c48e5781756.tar.xz yuzu-57a8921e01a90ff5993079dd638a6c48e5781756.tar.zst yuzu-57a8921e01a90ff5993079dd638a6c48e5781756.zip |
Diffstat (limited to 'src/video_core/vulkan_common/vulkan_wrapper.h')
-rw-r--r-- | src/video_core/vulkan_common/vulkan_wrapper.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/vulkan_common/vulkan_wrapper.h b/src/video_core/vulkan_common/vulkan_wrapper.h index d43b606f1..d76bb4324 100644 --- a/src/video_core/vulkan_common/vulkan_wrapper.h +++ b/src/video_core/vulkan_common/vulkan_wrapper.h @@ -231,6 +231,7 @@ struct DeviceDispatch : InstanceDispatch { PFN_vkCmdSetDepthWriteEnableEXT vkCmdSetDepthWriteEnableEXT{}; PFN_vkCmdSetEvent vkCmdSetEvent{}; PFN_vkCmdSetFrontFaceEXT vkCmdSetFrontFaceEXT{}; + PFN_vkCmdSetLineWidth vkCmdSetLineWidth{}; PFN_vkCmdSetPrimitiveTopologyEXT vkCmdSetPrimitiveTopologyEXT{}; PFN_vkCmdSetScissor vkCmdSetScissor{}; PFN_vkCmdSetStencilCompareMask vkCmdSetStencilCompareMask{}; @@ -1198,6 +1199,10 @@ public: dld->vkCmdSetFrontFaceEXT(handle, front_face); } + void SetLineWidth(float line_width) const noexcept { + dld->vkCmdSetLineWidth(handle, line_width); + } + void SetPrimitiveTopologyEXT(VkPrimitiveTopology primitive_topology) const noexcept { dld->vkCmdSetPrimitiveTopologyEXT(handle, primitive_topology); } |