Allow to use swapchain image as trasnfer destination
@@ -80,7 +80,7 @@ impl hal::Surface<Backend> for Surface {
current_extent: Some(extent),
extents: extent..extent,
max_image_layers: 1,
- usage: i::Usage::COLOR_ATTACHMENT | i::Usage::TRANSFER_SRC,
+ usage: i::Usage::COLOR_ATTACHMENT | i::Usage::TRANSFER_SRC | i::Usage::TRANSFER_DST,
};
// Sticking to FLIP swap effects for the moment.
