[PATCH vkd3d 1/8] vkd3d: Update current framebuffer before pipeline.
Józef Kucia
joseph.kucia at gmail.com
Wed May 15 06:17:54 CDT 2019
From: Józef Kucia <jkucia at 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 at 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);
--
2.21.0
More information about the wine-devel
mailing list