mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-12-27 02:53:04 +00:00
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;
|
PrimitiveRestartEnable &= topologySupportsRestart;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_supportsExtDynamicState)
|
if (_supportsExtDynamicState && (Topology != PrimitiveTopology.LineList ||
|
||||||
|
Topology != PrimitiveTopology.TriangleStrip ||
|
||||||
|
Topology != PrimitiveTopology.PointList ||
|
||||||
|
Topology != PrimitiveTopology.PatchList))
|
||||||
{
|
{
|
||||||
Topology = Topology.ConvertToClass();
|
Topology = Topology.ConvertToClass();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue