Searched refs:surfaceCaps (Results 1 – 1 of 1) sorted by relevance
234 VkSurfaceCapabilitiesKHR surfaceCaps; in createSwapChainCi() local235 VK_CHECK(vk.vkGetPhysicalDeviceSurfaceCapabilitiesKHR(physicalDevice, surface, &surfaceCaps)); in createSwapChainCi()236 if (!(surfaceCaps.supportedUsageFlags & VK_IMAGE_USAGE_TRANSFER_DST_BIT)) { in createSwapChainCi()240 string_VkImageUsageFlags(surfaceCaps.supportedUsageFlags).c_str()); in createSwapChainCi()244 if (surfaceCaps.currentExtent.width != UINT32_MAX && surfaceCaps.currentExtent.width == width && in createSwapChainCi()245 surfaceCaps.currentExtent.height == height) { in createSwapChainCi()246 maybeExtent = surfaceCaps.currentExtent; in createSwapChainCi()247 } else if (width >= surfaceCaps.minImageExtent.width && in createSwapChainCi()248 width <= surfaceCaps.maxImageExtent.width && in createSwapChainCi()249 height >= surfaceCaps.minImageExtent.height && in createSwapChainCi()[all …]