From 05f6f8579f0839310ab24dff276c2b2e844743fe Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sun, 14 Mar 2021 01:32:44 +1000 Subject: [PATCH] GPU/Vulkan: Fix SSAA being near ineffective --- src/common/vulkan/builders.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/vulkan/builders.cpp b/src/common/vulkan/builders.cpp index 13cf33597..608cff256 100644 --- a/src/common/vulkan/builders.cpp +++ b/src/common/vulkan/builders.cpp @@ -252,7 +252,7 @@ void GraphicsPipelineBuilder::SetMultisamples(u32 multisamples, bool per_sample_ { m_multisample_state.rasterizationSamples = static_cast(multisamples); m_multisample_state.sampleShadingEnable = per_sample_shading; - m_multisample_state.minSampleShading = (multisamples > 1) ? 0.0f : 1.0f; + m_multisample_state.minSampleShading = (multisamples > 1) ? 1.0f : 0.0f; } void GraphicsPipelineBuilder::SetNoCullRasterizationState()