Searched refs:supportsPresent (Results 1 – 2 of 2) sorted by relevance
3042 VkBool32 *supportsPresent = in demo_init_vk_swapchain() local3046 &supportsPresent[i]); in demo_init_vk_swapchain()3059 if (supportsPresent[i] == VK_TRUE) { in demo_init_vk_swapchain()3071 if (supportsPresent[i] == VK_TRUE) { in demo_init_vk_swapchain()3089 free(supportsPresent); in demo_init_vk_swapchain()
1076 std::unique_ptr<vk::Bool32[]> supportsPresent( in init_vk_swapchain() local1079 gpu.getSurfaceSupportKHR(i, surface, &supportsPresent[i]); in init_vk_swapchain()1090 if (supportsPresent[i] == VK_TRUE) { in init_vk_swapchain()1103 if (supportsPresent[i] == VK_TRUE) { in init_vk_swapchain()