I am attempting to create a swapchain after successfully creating an instance, surface, and device. However, vkCreateSwapchainKHR is failing with VK_ERROR_OUT_OF_DEVICE_MEMORY.
What does this mean and what are the possible causes?
Device info:
- Device Name: GeForce GTX 970
- Driver Version: 1602764800
- Vulkan API Version: 4194346
API dump: https://pastebin.com/pXebGX5t
EDIT: I think it may be related to pNext having a value here. It is set to NULL in my code so something deeper might be happening like a problem with my binding...
vkCreateDevice(physicalDevice, pCreateInfo, pAllocator, pDevice) returns VkResult VK_SUCCESS (0):
physicalDevice: VkPhysicalDevice = 0000000004D768D0
pCreateInfo: const VkDeviceCreateInfo* = 000000000022EAD0:
sType: VkStructureType = VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO (3)
pNext: const void* = 000000000022EB20
flags: VkDeviceCreateFlags = 0