MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-ValidationLayers / GetSwapchain

Function GetSwapchain

layers/state_tracker/image_state.cpp:43–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43static VkSwapchainKHR GetSwapchain(const VkImageCreateInfo* pCreateInfo) {
44 const auto* swapchain_info = vku::FindStructInPNextChain<VkImageSwapchainCreateInfoKHR>(pCreateInfo->pNext);
45 return swapchain_info ? swapchain_info->swapchain : VK_NULL_HANDLE;
46}
47
48static vvl::Image::MemoryReqs GetMemoryRequirements(const vvl::DeviceState& dev_data, VkImage img,
49 const VkImageCreateInfo* create_info, bool disjoint, bool is_external_ahb) {

Callers 1

ImageMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected