From 966c5d463c55a957af99c6e6253650b2d3b3814a Mon Sep 17 00:00:00 2001 From: sunshineinabox Date: Thu, 30 May 2024 07:34:34 -0700 Subject: [PATCH] Sleep Deprivation --- src/Ryujinx.Graphics.Vulkan/PipelineState.cs | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/Ryujinx.Graphics.Vulkan/PipelineState.cs b/src/Ryujinx.Graphics.Vulkan/PipelineState.cs index 6e672f797..74a00d151 100644 --- a/src/Ryujinx.Graphics.Vulkan/PipelineState.cs +++ b/src/Ryujinx.Graphics.Vulkan/PipelineState.cs @@ -436,18 +436,9 @@ namespace Ryujinx.Graphics.Vulkan var inputAssemblyState = new PipelineInputAssemblyStateCreateInfo { SType = StructureType.PipelineInputAssemblyStateCreateInfo, - Topology = Topology, + Topology = supportsExtDynamicState ? TopologyClass : Topology, }; - if (supportsExtDynamicState) - { - inputAssemblyState.Topology = TopologyClass; - } - else - { - inputAssemblyState.Topology = Topology; - } - var tessellationState = new PipelineTessellationStateCreateInfo { SType = StructureType.PipelineTessellationStateCreateInfo,