mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-26 08:46:02 +00:00
Oversight
This commit is contained in:
parent
3683ee5c29
commit
424166acd8
1 changed files with 8 additions and 0 deletions
|
@ -727,10 +727,18 @@ namespace Ryujinx.Graphics.Vulkan
|
|||
|
||||
if (_supportExtDynamic)
|
||||
{
|
||||
var oldTopologyClass = GetTopologyClass(oldTopology);
|
||||
var newTopologyClass = GetTopologyClass(DynamicState.Topology);
|
||||
|
||||
DynamicState.SetCullMode(oldCullMode);
|
||||
DynamicState.SetStencilTest(oldStencilTestEnable);
|
||||
DynamicState.SetDepthTestBool(oldDepthTestEnable, oldDepthWriteEnable);
|
||||
DynamicState.SetPrimitiveTopology(oldTopology);
|
||||
|
||||
if (oldTopologyClass != newTopologyClass)
|
||||
{
|
||||
_newState.Topology = oldTopology;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue