mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-04-10 19:16:35 +00:00
Allow CAMetalLayer
images to be used as storage textures (#6603)
This commit is contained in:
parent
1ea5498038
commit
61dc75edc5
@ -344,7 +344,9 @@ impl crate::Adapter for super::Adapter {
|
||||
current_extent,
|
||||
usage: crate::TextureUses::COLOR_TARGET
|
||||
| crate::TextureUses::COPY_SRC
|
||||
| crate::TextureUses::COPY_DST,
|
||||
| crate::TextureUses::COPY_DST
|
||||
| crate::TextureUses::STORAGE_READ
|
||||
| crate::TextureUses::STORAGE_READ_WRITE,
|
||||
})
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user