diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-04-28 01:50:14 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-04-28 01:50:14 +0200 |
commit | bb1ed66d9992883f9657bf2757bd40e70a707e8d (patch) | |
tree | 250d750cc3c28ea8029caf5535c51b9e1ca94534 /src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp | |
parent | Merge pull request #3766 from ReinUsesLisp/renderpass-cache-key (diff) | |
download | yuzu-bb1ed66d9992883f9657bf2757bd40e70a707e8d.tar yuzu-bb1ed66d9992883f9657bf2757bd40e70a707e8d.tar.gz yuzu-bb1ed66d9992883f9657bf2757bd40e70a707e8d.tar.bz2 yuzu-bb1ed66d9992883f9657bf2757bd40e70a707e8d.tar.lz yuzu-bb1ed66d9992883f9657bf2757bd40e70a707e8d.tar.xz yuzu-bb1ed66d9992883f9657bf2757bd40e70a707e8d.tar.zst yuzu-bb1ed66d9992883f9657bf2757bd40e70a707e8d.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 45bd1fc6c..852a17a70 100644 --- a/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp +++ b/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp @@ -249,7 +249,7 @@ vk::Pipeline VKGraphicsPipeline::CreatePipeline(const RenderPassParams& renderpa rasterization_ci.sType = VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO; rasterization_ci.pNext = nullptr; rasterization_ci.flags = 0; - rasterization_ci.depthClampEnable = rs.depth_clamp_enable; + rasterization_ci.depthClampEnable = rs.depth_clamp_disabled == 0 ? VK_TRUE : VK_FALSE; rasterization_ci.rasterizerDiscardEnable = VK_FALSE; rasterization_ci.polygonMode = VK_POLYGON_MODE_FILL; rasterization_ci.cullMode = |