diff --git a/src/Ryujinx.Graphics.Vulkan/PipelineBase.cs b/src/Ryujinx.Graphics.Vulkan/PipelineBase.cs index 7bf4a346aa..f31f50b170 100644 --- a/src/Ryujinx.Graphics.Vulkan/PipelineBase.cs +++ b/src/Ryujinx.Graphics.Vulkan/PipelineBase.cs @@ -676,7 +676,7 @@ namespace Ryujinx.Graphics.Vulkan if (_supportExtDynamic) { - if (oldTopologyClass != _newState.Topology.ConvertToClass()) + if (oldTopologyClass != _newState.Topology) { _newState.Topology = oldTopology; } @@ -1048,9 +1048,7 @@ namespace Ryujinx.Graphics.Vulkan if (_supportExtDynamic) { - var newTopologyClass = vkTopology.ConvertToClass(); - - if ((_newState.Topology.ConvertToClass() != newTopologyClass)) + if ((_newState.Topology != vkTopology)) { _newState.Topology = vkTopology; }