Enable Vertex Input Binding Stride extended state when available on newer MVK
This commit is contained in:
parent
381abda2c8
commit
2a3069d9a1
3 changed files with 7 additions and 3 deletions
|
@ -632,9 +632,10 @@ namespace Ryujinx.Graphics.Vulkan
|
|||
|
||||
if (_supportsExtDynamicState)
|
||||
{
|
||||
if (!isMoltenVk)
|
||||
if (gd.SupportsMTL31 || gd.IsMoltenVk)
|
||||
{
|
||||
//Requires Metal 3.1 and new MoltenVK
|
||||
//Requires Metal 3.1 and new MoltenVK however extended dynamic states extension is not
|
||||
//available on older verrsion of MVK so we can safely check only OS version
|
||||
dynamicStates[dynamicStatesCount++] = DynamicState.VertexInputBindingStrideExt;
|
||||
}
|
||||
dynamicStates[0] = DynamicState.ViewportWithCountExt;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue