Hi! In the Vulkan Tutorial, there is a note that It is important that we only try to query for swap chain support after verifying that the extension is available.
, in this section: https://vulkan-tutorial.com/Drawing_a_triangle/Presentation/Swap_chain#page_Querying-details-of-swap-chain-support
While I get that querying for the surface capabilities is kinda pointless if swap chain isn’t supported, I failed to find an explicit rule about the order of these operations in the spec. Maybe I got lost in the spec and overlooked the explanation of why it’s that important? What could happen if we check surface capabilities first, and query for swap chain support after?