Resolve build errors
This commit is contained in:
parent
fa801ba472
commit
023f3ed44f
3 changed files with 8 additions and 8 deletions
|
@ -429,7 +429,7 @@ namespace Ryujinx.Graphics.Vulkan
|
|||
|
||||
PipelineTessellationStateCreateInfo tessellationState;
|
||||
|
||||
if (!gd.Capabilities.SupportsExtendedDynamicState2.ExtendedDynamicState2PatchControlPoints)
|
||||
if (!gd.Capabilities.SupportsExtendedDynamicState2.ExtendedDynamicState2PatchControlPoints && HasTessellationControlShader)
|
||||
{
|
||||
tessellationState.SType = StructureType.PipelineTessellationStateCreateInfo;
|
||||
tessellationState.PatchControlPoints = PatchControlPoints;
|
||||
|
@ -643,7 +643,7 @@ namespace Ryujinx.Graphics.Vulkan
|
|||
RenderPass = renderPass,
|
||||
};
|
||||
|
||||
if (!gd.Capabilities.SupportsExtendedDynamicState2.ExtendedDynamicState2PatchControlPoints)
|
||||
if (!gd.Capabilities.SupportsExtendedDynamicState2.ExtendedDynamicState2PatchControlPoints && HasTessellationControlShader)
|
||||
{
|
||||
pipelineCreateInfo.PTessellationState = &tessellationState;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue