Variable AttachmentRef.layout

The layout the attachment will be in the subpass this reference is used

struct AttachmentRef
{
  // ...
  ImageLayout layout ;
  // ...
}