Spec states it CAN be null

This commit is contained in:
sunshineinabox 2024-08-06 23:24:34 -07:00
parent 6aa30b24ba
commit af31a14c77
2 changed files with 2 additions and 2 deletions

View file

@ -578,7 +578,7 @@ namespace Ryujinx.Graphics.Vulkan
RenderPass = renderPass,
};
if (!gd.Capabilities.SupportsExtendedDynamicState2.ExtendedDynamicState2PatchControlPoints && HasTessellationControlShader)
if (!gd.Capabilities.SupportsExtendedDynamicState2.ExtendedDynamicState2PatchControlPoints)
{
pipelineCreateInfo.PTessellationState = &tessellationState;
}