[vulkan] Limit on vkCreateImageView

Hi, can someone confirm there is a limit on the number of image views (vkCreateImageView) I can create? It keeps crashing after 520-540k (just loop it) calls of the function on some arbitrary image with out of device memory error, although task manager GPU tab shows more than sufficient device memory. I don’t see the vulkan spec mention any limits about image views. Tried on some sample projects too, same error. I am running on latest vulkan SDK 1.1.70.1 and a GTX 1080Ti. Appreciate any insights.

Still need help on this.

Minimal sample code:

VkImageViewCreateInfo createInfo = {};
createInfo.sType = VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO;
createInfo.image = image;
createInfo.viewType = VK_IMAGE_VIEW_TYPE_2D;
createInfo.format = VK_FORMAT_R8G8B8A8_UNORM;
createInfo.subresourceRange.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT;
createInfo.subresourceRange.baseMipLevel = 0;
createInfo.subresourceRange.levelCount = 1;
createInfo.subresourceRange.baseArrayLayer = 0;
createInfo.subresourceRange.layerCount = 1;

for (uint32_t i = 0; i < 600000; i++)
{
	result = vkCreateImageView(device, &createInfo, nullptr, &imageView);
	VK_CHECK_RESULT(result);
}

It always break at index 523264 with ERROR_OUT_OF_DEVICE_MEMORY but I have 10+gb free. I changed the imageinfo format and dimension but there is no change.

I tried on a GTX 1070 and the program breaks at the same limit, but someone on the khronos forum tested with an AMD card and it works: https://forums.khronos.org/showthread.php/13844-Image-view-limits

Can someone please confirm this is a driver set limit?

I bought a RTX 2080Ti and tested it, still breaks on 523264 image views. I know Nvidia stocks are down 15% this year, but can I still get a response from any rep???