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

This commit is contained in:
Jim
2024-12-01 23:11:11 +01:00
committed by GitHub
parent 1ea5498038
commit 61dc75edc5

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,
})
}