VkQueueFamilyProperties not queried before VkCreateDevice
qining opened this issue · 3 comments
Not a big issue, but different platform may have different queue families and the QueueFamily[0] may not support graphics rendering.
yeah, that is good point. The spec at the beginning though said that all queues and devices must have the same functionality for Android ( for desktop, it could vary ). Yeah, in WSI:
"29.4.1. Android Platform
On Android, all physical devices and queue families must be capable of presentation with any
native window. As a result there is no Android-specific query for these capabilities."
Right, so the surface support is not a problem anymore, but strictly speaking we still need to check the VK_QUEUE_GRAPHICS_BIT before we draw anything by the queue. Anyway, not a big deal though.
thanks, will look at it together with other 2 issues you reported.