VERY experimental Nintendo Switch 2 emulator
C++
vk_graphics_pipeline: Set front facing properly
ReinUsesLisp4862fc497030
diff --git a/src/video_core/engines/maxwell_3d.cpp b/src/video_core/engines/maxwell_3d.cppindex 1d1f780e7b..58dfa80333 100644--- a/src/video_core/engines/maxwell_3d.cpp+++ b/src/video_core/engines/maxwell_3d.cpp@@ -91,6 +91,7 @@ void Maxwell3D::InitializeRegisterDefaults() {regs.rasterize_enable = 1;regs.rt_separate_frag_data = 1;regs.framebuffer_srgb = 1;+ regs.cull.front_face = Maxwell3D::Regs::Cull::FrontFace::ClockWise;mme_inline[MAXWELL3D_REG_INDEX(draw.vertex_end_gl)] = true;mme_inline[MAXWELL3D_REG_INDEX(draw.vertex_begin_gl)] = true;diff --git a/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp b/src/video_core/renderer_vulkan/vk_graphics_pipeline.cppindex 2e0536bf6d..b155dfb493 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& renderconst 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);