| 533 | } |
| 534 | |
| 535 | VkResult createSemaphore(VkDevice device, VkSemaphore* outSemaphore) |
| 536 | { |
| 537 | const VkSemaphoreCreateInfo ci = |
| 538 | { |
| 539 | .sType = VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO |
| 540 | }; |
| 541 | |
| 542 | return vkCreateSemaphore(device, &ci, nullptr, outSemaphore); |
| 543 | } |
| 544 | |
| 545 | bool initVulkanRenderDevice(VulkanInstance& vk, VulkanRenderDevice& vkDev, uint32_t width, uint32_t height, std::function<bool(VkPhysicalDevice)> selector, VkPhysicalDeviceFeatures deviceFeatures) |
| 546 | { |
no outgoing calls
no test coverage detected