Skip to content

Commit 09bc086

Browse files
committed
[Vulkan] wait until idle
1 parent b0ea2af commit 09bc086

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

backends/gpu/vulkan/sources/device.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1125,7 +1125,9 @@ void kore_vulkan_device_execute_command_list(kore_gpu_device *device, kore_gpu_c
11251125
vkBeginCommandBuffer(list->vulkan.command_buffer, &begin_info);
11261126
}
11271127

1128-
void kore_vulkan_device_wait_until_idle(kore_gpu_device *device) {}
1128+
void kore_vulkan_device_wait_until_idle(kore_gpu_device *device) {
1129+
vkDeviceWaitIdle(device->vulkan.device);
1130+
}
11291131

11301132
void kore_vulkan_device_create_descriptor_set(kore_gpu_device *device, VkDescriptorSetLayout *descriptor_set_layout, kore_vulkan_descriptor_set *set) {
11311133
VkDescriptorSetAllocateInfo descriptor_set_allocate_info = {

0 commit comments

Comments
 (0)