How to use DeviceQueueGlobalPriority?

I’m a little confused about how to use VkDeviceQueueGlobalPriorityCreateInfoKHR.
According to the doc,

I’m a little confused about the word “this”, since VkDeviceQueueGlobalPriorityCreateInfoKHR should be set in VkDeviceQueueCreateInfo, which declare multiple queues, not only one queue.

I guess I shoud set multiple VkDeviceQueueGlobalPriorityCreateInfoKHR in the p_next in VkDeviceQueueCreateInfo for each queue, but the doc said:

pNext must be NULL or a pointer to a valid instance of VkDeviceQueueGlobalPriorityCreateInfoKHR

The doc usually doesn’t express like this if p_next can be chained with multiple VkDeviceQueueGlobalPriorityCreateInfoKHR.

So how should I use VkDeviceQueueGlobalPriorityCreateInfoKHR?

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.