mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-01-15 03:58:07 -05:00
Add COPY_DST to Metal's surface usage bits
This commit is contained in:
committed by
Dzmitry Malyshau
parent
0545e36aa8
commit
c1dcd6ddee
@@ -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
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user