Open hnisula opened 2 years ago
QueueFamilyIndices indices = findQueueFamilies(physicalDevice);
uint32_t queueFamilyIndices[] = {indices.graphicsFamily.value(), indices.presentFamily.value()};
Could perhaps be trivially solved through checking these families at creation of device? Then why do the check between device and surface, though?
AFAIK, this can only be checked when having created the surface the swap chain wants to use, which adds a few steps to the setup, if necessary. Are there other ways to accomplish this? Could it be accomplished this way but in an intuitive and smooth way?