summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-01-20 05:22:34 +0100
committerGitHub <noreply@github.com>2020-01-20 05:22:34 +0100
commit5a077c95ce36cfe8d09985b4c34c303980c99d5a (patch)
treedbbbf3d766e4a305d11af167e105ae6f1370dc62 /src/video_core/renderer_vulkan
parentMerge pull request #3271 from bunnei/time-rewrite (diff)
parentvk_graphics_pipeline: Set front facing properly (diff)
downloadyuzu-5a077c95ce36cfe8d09985b4c34c303980c99d5a.tar
yuzu-5a077c95ce36cfe8d09985b4c34c303980c99d5a.tar.gz
yuzu-5a077c95ce36cfe8d09985b4c34c303980c99d5a.tar.bz2
yuzu-5a077c95ce36cfe8d09985b4c34c303980c99d5a.tar.lz
yuzu-5a077c95ce36cfe8d09985b4c34c303980c99d5a.tar.xz
yuzu-5a077c95ce36cfe8d09985b4c34c303980c99d5a.tar.zst
yuzu-5a077c95ce36cfe8d09985b4c34c303980c99d5a.zip
Diffstat (limited to 'src/video_core/renderer_vulkan')
-rw-r--r--src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp b/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp
index 2e0536bf6..b155dfb49 100644
--- a/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp
+++ b/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp
@@ -191,8 +191,7 @@ UniquePipeline VKGraphicsPipeline::CreatePipeline(const RenderPassParams& render
const vk::PipelineRasterizationStateCreateInfo rasterizer_ci(
{}, rs.depth_clamp_enable, false, vk::PolygonMode::eFill,
rs.cull_enable ? MaxwellToVK::CullFace(rs.cull_face) : vk::CullModeFlagBits::eNone,
- rs.cull_enable ? MaxwellToVK::FrontFace(rs.front_face) : vk::FrontFace::eCounterClockwise,
- rs.depth_bias_enable, 0.0f, 0.0f, 0.0f, 1.0f);
+ MaxwellToVK::FrontFace(rs.front_face), rs.depth_bias_enable, 0.0f, 0.0f, 0.0f, 1.0f);
const vk::PipelineMultisampleStateCreateInfo multisampling_ci(
{}, vk::SampleCountFlagBits::e1, false, 0.0f, nullptr, false, false);