Open Michael-Lfx opened 5 years ago
比如为Present、Transfer创建各自的队列,在什么场景比单Command Queue性能更高?
QueueFamilyIndices indices = findQueueFamilies(physicalDevice); float queuePriority = 1.0f; VkDeviceQueueCreateInfo queueCreateInfo = {}; queueCreateInfo.sType = VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO; queueCreateInfo.queueFamilyIndex = indices.graphicsFamily; queueCreateInfo.queueCount = 1; queueCreateInfo.pQueuePriorities = &queuePriority;
多 Command Queue 的性能表现
比如为Present、Transfer创建各自的队列,在什么场景比单Command Queue性能更高?
Command Queue 优先级对性能的影响