mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-13 05:10:42 +00:00
Vulkan: Fix more validation issues.
This commit is contained in:
parent
07880e3f45
commit
de36f572d1
@ -1953,6 +1953,8 @@ bool vulkan_create_swapchain(gfx_ctx_vulkan_data_t *vk,
|
||||
VkPresentModeKHR swapchain_present_mode = VK_PRESENT_MODE_FIFO_KHR;
|
||||
settings_t *settings = config_get_ptr();
|
||||
|
||||
VKFUNC(vkDeviceWaitIdle)(vk->context.device);
|
||||
|
||||
present_mode_count = 0;
|
||||
VKFUNC(vkGetPhysicalDeviceSurfacePresentModesKHR)(
|
||||
vk->context.gpu, vk->vk_surface,
|
||||
|
@ -1643,7 +1643,7 @@ void Pass::build_commands(
|
||||
|
||||
if (reflection.ubo_stage_mask)
|
||||
{
|
||||
set_uniform_buffer(sets[sync_index], 0,
|
||||
set_uniform_buffer(sets[sync_index], reflection.ubo_binding,
|
||||
common->ubo->get_buffer(),
|
||||
ubo_offset, reflection.ubo_size);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user