mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-16 19:46:35 +00:00
Only attempt to change topology class if needed
This commit is contained in:
parent
1cb35a42db
commit
9bcc8374da
@ -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 New Issue
Block a user