Józef Kucia : vkd3d: End conditional rendering before ending command buffer.
Module: vkd3d Branch: master Commit: 16c62ded81da43f04c39a299eeeeddc6afaab982 URL: https://source.winehq.org/git/vkd3d.git/?a=commit;h=16c62ded81da43f04c39a299... Author: Józef Kucia <jkucia(a)codeweavers.com> Date: Tue Jun 18 10:07:50 2019 +0200 vkd3d: End conditional rendering before ending command buffer. Signed-off-by: Józef Kucia <jkucia(a)codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- libs/vkd3d/command.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/vkd3d/command.c b/libs/vkd3d/command.c index 5b877db..99f607a 100644 --- a/libs/vkd3d/command.c +++ b/libs/vkd3d/command.c @@ -2254,6 +2254,8 @@ static HRESULT STDMETHODCALLTYPE d3d12_command_list_Close(ID3D12GraphicsCommandL vk_procs = &list->device->vk_procs; d3d12_command_list_end_current_render_pass(list); + if (list->is_predicated) + VK_CALL(vkCmdEndConditionalRenderingEXT(list->vk_command_buffer)); if ((vr = VK_CALL(vkEndCommandBuffer(list->vk_command_buffer))) < 0) {
participants (1)
-
Alexandre Julliard