1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-18 12:36:40 +00:00

Sleep Deprivation

This commit is contained in:
sunshineinabox 2024-05-30 07:34:34 -07:00
parent 985c648860
commit 966c5d463c

View file

@ -436,18 +436,9 @@ namespace Ryujinx.Graphics.Vulkan
var inputAssemblyState = new PipelineInputAssemblyStateCreateInfo var inputAssemblyState = new PipelineInputAssemblyStateCreateInfo
{ {
SType = StructureType.PipelineInputAssemblyStateCreateInfo, SType = StructureType.PipelineInputAssemblyStateCreateInfo,
Topology = Topology, Topology = supportsExtDynamicState ? TopologyClass : Topology,
}; };
if (supportsExtDynamicState)
{
inputAssemblyState.Topology = TopologyClass;
}
else
{
inputAssemblyState.Topology = Topology;
}
var tessellationState = new PipelineTessellationStateCreateInfo var tessellationState = new PipelineTessellationStateCreateInfo
{ {
SType = StructureType.PipelineTessellationStateCreateInfo, SType = StructureType.PipelineTessellationStateCreateInfo,