diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-10-13 02:33:27 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-10-13 09:08:33 +0200 |
commit | e4e0abc418de022903a084c9409cd502ce6c5629 (patch) | |
tree | ec6e261a875e7c31d2f77727ed173179ef0e40e0 /src/video_core/renderer_vulkan/vk_rasterizer.cpp | |
parent | Merge pull request #4766 from ReinUsesLisp/tmml-cube (diff) | |
download | yuzu-e4e0abc418de022903a084c9409cd502ce6c5629.tar yuzu-e4e0abc418de022903a084c9409cd502ce6c5629.tar.gz yuzu-e4e0abc418de022903a084c9409cd502ce6c5629.tar.bz2 yuzu-e4e0abc418de022903a084c9409cd502ce6c5629.tar.lz yuzu-e4e0abc418de022903a084c9409cd502ce6c5629.tar.xz yuzu-e4e0abc418de022903a084c9409cd502ce6c5629.tar.zst yuzu-e4e0abc418de022903a084c9409cd502ce6c5629.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan/vk_rasterizer.cpp')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_rasterizer.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/video_core/renderer_vulkan/vk_rasterizer.cpp b/src/video_core/renderer_vulkan/vk_rasterizer.cpp index f3c2483c8..e0fb8693f 100644 --- a/src/video_core/renderer_vulkan/vk_rasterizer.cpp +++ b/src/video_core/renderer_vulkan/vk_rasterizer.cpp @@ -948,7 +948,6 @@ void RasterizerVulkan::UpdateDynamicStates() { UpdateDepthWriteEnable(regs); UpdateDepthCompareOp(regs); UpdateFrontFace(regs); - UpdatePrimitiveTopology(regs); UpdateStencilOp(regs); UpdateStencilTestEnable(regs); } @@ -1418,16 +1417,6 @@ void RasterizerVulkan::UpdateFrontFace(Tegra::Engines::Maxwell3D::Regs& regs) { [front_face](vk::CommandBuffer cmdbuf) { cmdbuf.SetFrontFaceEXT(front_face); }); } -void RasterizerVulkan::UpdatePrimitiveTopology(Tegra::Engines::Maxwell3D::Regs& regs) { - const Maxwell::PrimitiveTopology primitive_topology = regs.draw.topology.Value(); - if (!state_tracker.ChangePrimitiveTopology(primitive_topology)) { - return; - } - scheduler.Record([this, primitive_topology](vk::CommandBuffer cmdbuf) { - cmdbuf.SetPrimitiveTopologyEXT(MaxwellToVK::PrimitiveTopology(device, primitive_topology)); - }); -} - void RasterizerVulkan::UpdateStencilOp(Tegra::Engines::Maxwell3D::Regs& regs) { if (!state_tracker.TouchStencilOp()) { return; |