Set stride to 0 if Vertex Input dynamic state is enabled
This commit is contained in:
parent
42c47e408d
commit
d6f05044ea
2 changed files with 2 additions and 2 deletions
|
@ -1425,7 +1425,7 @@ namespace Ryujinx.Graphics.Vulkan
|
|||
|
||||
_newState.Internal.VertexBindingDescriptions[descriptorIndex] = new VertexInputBindingDescription(
|
||||
(uint)binding,
|
||||
(uint)vertexBuffer.Stride,
|
||||
_supportExtDynamic && !Gd.IsMoltenVk ? 0 : (uint)vertexBuffer.Stride,
|
||||
inputRate);
|
||||
|
||||
int vbSize = vertexBuffer.Buffer.Size;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue