mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d: Pass vkd3d_pipeline_bind_point values to update_descriptors() calls.
Signed-off-by: Chip Davis <cdavis@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
63fbb62301
commit
4e383bf0fa
@ -2933,7 +2933,7 @@ static bool d3d12_command_list_update_compute_state(struct d3d12_command_list *l
|
|||||||
if (!d3d12_command_list_update_compute_pipeline(list))
|
if (!d3d12_command_list_update_compute_pipeline(list))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
d3d12_command_list_update_descriptors(list, VK_PIPELINE_BIND_POINT_COMPUTE);
|
d3d12_command_list_update_descriptors(list, VKD3D_PIPELINE_BIND_POINT_COMPUTE);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -2950,7 +2950,7 @@ static bool d3d12_command_list_begin_render_pass(struct d3d12_command_list *list
|
|||||||
if (!d3d12_command_list_update_current_framebuffer(list))
|
if (!d3d12_command_list_update_current_framebuffer(list))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
d3d12_command_list_update_descriptors(list, VK_PIPELINE_BIND_POINT_GRAPHICS);
|
d3d12_command_list_update_descriptors(list, VKD3D_PIPELINE_BIND_POINT_GRAPHICS);
|
||||||
|
|
||||||
if (list->current_render_pass != VK_NULL_HANDLE)
|
if (list->current_render_pass != VK_NULL_HANDLE)
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user