VERY experimental Nintendo Switch 2 emulator
C++
fixed_pipeline_state: Remove unnecessary check for front faces flip
ReinUsesLispc4b6e36a00bd
diff --git a/src/video_core/renderer_vulkan/fixed_pipeline_state.cpp b/src/video_core/renderer_vulkan/fixed_pipeline_state.cppindex 568744e3c1..424278816b 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 facepacked_front_face = 1 - packed_front_face;}