- hook up postprocessing

This commit is contained in:
Magnus Norddahl 2019-03-07 18:05:12 +01:00
commit 6db231596f
9 changed files with 156 additions and 69 deletions

View file

@ -596,9 +596,6 @@ void VkRenderState::EndRenderPass()
mCommandBuffer = nullptr;
mRenderPassKey = {};
mMatricesOffset = 0;
mStreamDataOffset = 0;
mDataIndex = -1;
mLastViewpointOffset = 0xffffffff;
mLastLightBufferOffset = 0xffffffff;
mLastVertexBuffer = nullptr;
@ -610,3 +607,10 @@ void VkRenderState::EndRenderPass()
mLastTextureMatrixEnabled = true;
}
}
void VkRenderState::EndFrame()
{
mMatricesOffset = 0;
mStreamDataOffset = 0;
mDataIndex = -1;
}