mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
vkd3d: Update current framebuffer before pipeline.
Framebuffers are created with a render pass from the graphics pipeline. In the next commits, we defer the creation of render passes for graphics pipelines with invalid DSV formats. Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
49ba93066e
commit
54dcb2901b
@ -2787,10 +2787,10 @@ static bool d3d12_command_list_begin_render_pass(struct d3d12_command_list *list
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!d3d12_command_list_update_current_framebuffer(list))
|
|
||||||
return false;
|
|
||||||
if (!d3d12_command_list_update_current_pipeline(list))
|
if (!d3d12_command_list_update_current_pipeline(list))
|
||||||
return false;
|
return false;
|
||||||
|
if (!d3d12_command_list_update_current_framebuffer(list))
|
||||||
|
return false;
|
||||||
|
|
||||||
d3d12_command_list_update_descriptors(list, VK_PIPELINE_BIND_POINT_GRAPHICS);
|
d3d12_command_list_update_descriptors(list, VK_PIPELINE_BIND_POINT_GRAPHICS);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user