Lines Matching refs:assert_success
171 vk::assert_success(vk::CreateInstance(&instance_info, nullptr, &ctx_.instance));
193 vk::assert_success(vk::CreateDebugReportCallbackEXT(ctx_.instance,
201 vk::assert_success(vk::enumerate(ctx_.instance, phys));
310 vk::assert_success(vk::CreateDevice(ctx_.physical_dev, &dev_info, nullptr, &ctx_.dev));
329 vk::assert_success(vk::CreateSemaphore(ctx_.dev, &sem_info, nullptr, &buf.acquire_semaphore));
330 vk::assert_success(vk::CreateSemaphore(ctx_.dev, &sem_info, nullptr, &buf.render_semaphore));
331 vk::assert_success(vk::CreateFence(ctx_.dev, &fence_info, nullptr, &buf.present_fence));
355 vk::assert_success(vk::GetPhysicalDeviceSurfaceSupportKHR(ctx_.physical_dev,
386 vk::assert_success(vk::GetPhysicalDeviceSurfaceCapabilitiesKHR(ctx_.physical_dev,
463 vk::assert_success(vk::CreateSwapchainKHR(ctx_.dev, &swapchain_info, nullptr, &ctx_.swapchain));
500 vk::assert_success(vk::WaitForFences(ctx_.dev, 1, &buf.present_fence,
503 vk::assert_success(vk::ResetFences(ctx_.dev, 1, &buf.present_fence));
505 vk::assert_success(vk::AcquireNextImageKHR(ctx_.dev, ctx_.swapchain,
534 vk::assert_success(vk::QueuePresentKHR(ctx_.present_queue, &present_info));
536 vk::assert_success(vk::QueueSubmit(ctx_.present_queue, 0, nullptr, buf.present_fence));
556 vk::assert_success(vk::QueueSubmit(ctx_.game_queue, 1, &submit_info, VK_NULL_HANDLE));