mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-21 06:50:59 +01:00
Allow CAMetalLayer images to be used as storage textures (#6603)
This commit is contained in:
1 file changed
+3
-1
@@ -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,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user