summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-05-26 05:57:27 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-05-26 21:32:27 +0200
commitefe7b7483b9c1fc09b43f40a87e43dab476c619a (patch)
treeb8c1f8e8d4ed0d91c9b8fc66c245d015d3e66b52 /src
parentMerge pull request #3978 from ReinUsesLisp/write-rz (diff)
downloadyuzu-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
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_vulkan/fixed_pipeline_state.cpp3
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;
}