mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d: Always return render pass from d3d12_pipeline_state_get_or_create_pipeline().
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:
committed by
Alexandre Julliard
parent
725c4eb809
commit
3e99853297
@@ -2431,9 +2431,6 @@ static bool d3d12_command_list_update_current_pipeline(struct d3d12_command_list
|
||||
list->primitive_topology, list->strides, list->dsv_format, &vk_render_pass)))
|
||||
return false;
|
||||
|
||||
if (!vk_render_pass)
|
||||
vk_render_pass = list->state->u.graphics.render_pass;
|
||||
|
||||
/* The render pass cache ensures that we use the same Vulkan render pass
|
||||
* object for compatible render passes. */
|
||||
if (list->pso_render_pass != vk_render_pass)
|
||||
|
Reference in New Issue
Block a user