Allow CAMetalLayer images to be used as storage textures (#6603)

This commit is contained in:
Jim authored and GitHub committed 2024-12-01 16:11:11 -06:00
1 parent 1ea5498038
commit 61dc75edc5
1 file changed
+3 -1
+3 -1
View File
@@ -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,
})
}