[PATCH vkd3d 4/7] vkd3d: End conditional rendering before ending command buffer.
18 Jun
2019
18 Jun
'19
8:07 a.m.
From: Józef Kucia <jkucia(a)codeweavers.com> Signed-off-by: Józef Kucia <jkucia(a)codeweavers.com> --- libs/vkd3d/command.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/vkd3d/command.c b/libs/vkd3d/command.c index 133c23328201..5a5b6a220437 100644 --- a/libs/vkd3d/command.c +++ b/libs/vkd3d/command.c @@ -2245,6 +2245,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) { -- 2.21.0
2374
Age (days ago)
2374
Last active (days ago)
1 comments
2 participants
participants (2)
-
Henri Verbeet -
Józef Kucia