From 7b230dc4c18e961a70be7bf5ecdd9dab08042162 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sun, 24 Nov 2024 22:40:59 +1000 Subject: [PATCH] GPU/HW: MSAA samples change needs to recreate pipelines Otherwise Metal/Vulkan go boom boom. --- src/core/gpu_hw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/gpu_hw.cpp b/src/core/gpu_hw.cpp index 4e4d6bf9e3..b481929fe4 100644 --- a/src/core/gpu_hw.cpp +++ b/src/core/gpu_hw.cpp @@ -417,7 +417,7 @@ void GPU_HW::UpdateSettings(const Settings& old_settings) m_pgxp_depth_buffer != g_settings.UsingPGXPDepthBuffer() || (!old_settings.gpu_texture_cache && g_settings.gpu_texture_cache)); const bool shaders_changed = - ((m_resolution_scale > 1) != (resolution_scale > 1) || (m_multisamples > 1) != (multisamples > 1) || + ((m_resolution_scale > 1) != (resolution_scale > 1) || m_multisamples != multisamples || m_true_color != g_settings.gpu_true_color || prev_force_progressive_scan != m_force_progressive_scan || (multisamples > 1 && g_settings.gpu_per_sample_shading != old_settings.gpu_per_sample_shading) || (resolution_scale > 1 && g_settings.gpu_scaled_dithering != old_settings.gpu_scaled_dithering) ||