title: Relationship of attachments to attachmentdescriptions
body: <p>A render pass has a framebuffer whose image views serve as attachments. A render pass also has an array of <code>VkAttachmentDescriptions</code> that provide information about its attachments. </p>
  
  <p>But the specification doesn't explicitly say how the attachments are related to the descriptions. That is, it doesn't say that the first <code>VkAttachmentDescription</code> corresponds to the first attachment, the second description corresponds to the second attachment, and so on.</p>
  
  <p>The text from the specification is:</p>
  
  <blockquote>
    <p>pAttachments points to an array of attachmentCount number of
    VkAttachmentDescription  structures describing properties of the
    attachments, or NULL if attachmentCount is zero.</p>
  </blockquote>
  
  <p>Can we assume that there is always a one-to-one correspondence between a render pass's attachments and its attachment descriptions?</p>
  
  <p>Thanks.</p>