diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-04-29 00:22:53 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-05-02 06:47:25 +0200 |
commit | 3b668e1210e54548e77ba493d65fe1ee57930ea6 (patch) | |
tree | 3969a37a9481afd18758244f3b169335ac3eef7a /src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp | |
parent | Merge pull request #3693 from ReinUsesLisp/clean-samplers (diff) | |
download | yuzu-3b668e1210e54548e77ba493d65fe1ee57930ea6.tar yuzu-3b668e1210e54548e77ba493d65fe1ee57930ea6.tar.gz yuzu-3b668e1210e54548e77ba493d65fe1ee57930ea6.tar.bz2 yuzu-3b668e1210e54548e77ba493d65fe1ee57930ea6.tar.lz yuzu-3b668e1210e54548e77ba493d65fe1ee57930ea6.tar.xz yuzu-3b668e1210e54548e77ba493d65fe1ee57930ea6.tar.zst yuzu-3b668e1210e54548e77ba493d65fe1ee57930ea6.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp b/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp index 852a17a70..b39b81b48 100644 --- a/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp +++ b/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp @@ -250,7 +250,7 @@ vk::Pipeline VKGraphicsPipeline::CreatePipeline(const RenderPassParams& renderpa rasterization_ci.pNext = nullptr; rasterization_ci.flags = 0; rasterization_ci.depthClampEnable = rs.depth_clamp_disabled == 0 ? VK_TRUE : VK_FALSE; - rasterization_ci.rasterizerDiscardEnable = VK_FALSE; + rasterization_ci.rasterizerDiscardEnable = rs.rasterize_enable == 0 ? VK_TRUE : VK_FALSE; rasterization_ci.polygonMode = VK_POLYGON_MODE_FILL; rasterization_ci.cullMode = rs.cull_enable ? MaxwellToVK::CullFace(rs.CullFace()) : VK_CULL_MODE_NONE; |