Only attempt to change topology class if needed
This commit is contained in:
parent
1cb35a42db
commit
9bcc8374da
1 changed files with 4 additions and 1 deletions
|
@ -408,7 +408,10 @@ namespace Ryujinx.Graphics.Vulkan
|
|||
PrimitiveRestartEnable &= topologySupportsRestart;
|
||||
}
|
||||
|
||||
if (_supportsExtDynamicState)
|
||||
if (_supportsExtDynamicState && (Topology != PrimitiveTopology.LineList ||
|
||||
Topology != PrimitiveTopology.TriangleStrip ||
|
||||
Topology != PrimitiveTopology.PointList ||
|
||||
Topology != PrimitiveTopology.PatchList))
|
||||
{
|
||||
Topology = Topology.ConvertToClass();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue