diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-05-26 05:57:27 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-05-26 21:32:27 +0200 |
commit | efe7b7483b9c1fc09b43f40a87e43dab476c619a (patch) | |
tree | b8c1f8e8d4ed0d91c9b8fc66c245d015d3e66b52 | |
parent | Merge pull request #3978 from ReinUsesLisp/write-rz (diff) | |
download | yuzu-efe7b7483b9c1fc09b43f40a87e43dab476c619a.tar yuzu-efe7b7483b9c1fc09b43f40a87e43dab476c619a.tar.gz yuzu-efe7b7483b9c1fc09b43f40a87e43dab476c619a.tar.bz2 yuzu-efe7b7483b9c1fc09b43f40a87e43dab476c619a.tar.lz yuzu-efe7b7483b9c1fc09b43f40a87e43dab476c619a.tar.xz yuzu-efe7b7483b9c1fc09b43f40a87e43dab476c619a.tar.zst yuzu-efe7b7483b9c1fc09b43f40a87e43dab476c619a.zip |
-rw-r--r-- | src/video_core/renderer_vulkan/fixed_pipeline_state.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/video_core/renderer_vulkan/fixed_pipeline_state.cpp b/src/video_core/renderer_vulkan/fixed_pipeline_state.cpp index 568744e3c..424278816 100644 --- a/src/video_core/renderer_vulkan/fixed_pipeline_state.cpp +++ b/src/video_core/renderer_vulkan/fixed_pipeline_state.cpp @@ -71,8 +71,7 @@ void FixedPipelineState::Rasterizer::Fill(const Maxwell& regs) noexcept { const u32 topology_index = static_cast<u32>(regs.draw.topology.Value()); u32 packed_front_face = PackFrontFace(regs.front_face); - if (regs.screen_y_control.triangle_rast_flip != 0 && - regs.viewport_transform[0].scale_y > 0.0f) { + if (regs.screen_y_control.triangle_rast_flip != 0) { // Flip front face packed_front_face = 1 - packed_front_face; } |