mirror of
https://github.com/Ryujinx-NX/Ryujinx.git
synced 2024-11-14 21:17:43 -07:00
Primitive restart is enabled/disabled based on the original topology before its converted to its topology class, make this behavior consistent
This commit is contained in:
parent
9bcc8374da
commit
381abda2c8
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user