Add COPY_DST to Metal's surface usage bits

This commit is contained in:
Vladimir Mitrović
2022-02-18 11:40:48 +01:00
committed by Dzmitry Malyshau
parent 0545e36aa8
commit c1dcd6ddee

View File

@@ -384,7 +384,7 @@ impl crate::Adapter<super::Api> for super::Adapter {
height: 4096,
depth_or_array_layers: 1,
},
usage: crate::TextureUses::COLOR_TARGET, //TODO: expose more
usage: crate::TextureUses::COLOR_TARGET | crate::TextureUses::COPY_DST, //TODO: expose more
})
}
}