From: Józef Kucia jkucia@codeweavers.com
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 --- libs/vkd3d/command.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libs/vkd3d/command.c b/libs/vkd3d/command.c index e4221c937240..8c7057b36340 100644 --- a/libs/vkd3d/command.c +++ b/libs/vkd3d/command.c @@ -2787,10 +2787,10 @@ static bool d3d12_command_list_begin_render_pass(struct d3d12_command_list *list return false; }
- if (!d3d12_command_list_update_current_framebuffer(list)) - return false; if (!d3d12_command_list_update_current_pipeline(list)) return false; + if (!d3d12_command_list_update_current_framebuffer(list)) + return false;
d3d12_command_list_update_descriptors(list, VK_PIPELINE_BIND_POINT_GRAPHICS);