mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-23 06:15:38 +00:00
GPU/Vulkan: Fix SSAA being near ineffective
This commit is contained in:
parent
0feb817130
commit
05f6f8579f
|
@ -252,7 +252,7 @@ void GraphicsPipelineBuilder::SetMultisamples(u32 multisamples, bool per_sample_
|
||||||
{
|
{
|
||||||
m_multisample_state.rasterizationSamples = static_cast<VkSampleCountFlagBits>(multisamples);
|
m_multisample_state.rasterizationSamples = static_cast<VkSampleCountFlagBits>(multisamples);
|
||||||
m_multisample_state.sampleShadingEnable = per_sample_shading;
|
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()
|
void GraphicsPipelineBuilder::SetNoCullRasterizationState()
|
||||||
|
|
Loading…
Reference in a new issue