- write into stream buffers before opening the next render pass

This commit is contained in:
Magnus Norddahl 2019-06-16 13:08:25 +02:00
parent d31dbf14e4
commit 774955dbc4

View file

@ -168,13 +168,13 @@ void VkRenderState::Apply(int dt)
mApplyCount = 0; mApplyCount = 0;
} }
ApplyStreamData();
ApplyMatrices();
ApplyRenderPass(dt); ApplyRenderPass(dt);
ApplyScissor(); ApplyScissor();
ApplyViewport(); ApplyViewport();
ApplyStencilRef(); ApplyStencilRef();
ApplyDepthBias(); ApplyDepthBias();
ApplyStreamData();
ApplyMatrices();
ApplyPushConstants(); ApplyPushConstants();
ApplyVertexBuffers(); ApplyVertexBuffers();
ApplyDynamicSet(); ApplyDynamicSet();