Document ImageLoad, ImageStore, and a few other bits.

This commit is contained in:
Jim Blandy authored and Dzmitry Malyshau committed 2021-07-13 15:32:35 -04:00
1 parent 458db0b522
commit bdf792387a
2 files changed
+75 -7

No files matched your search

+1
View File
@@ -172,6 +172,7 @@ impl crate::TypeInner {
}
}
/// Return the `ImageDimension` for which `self` is an appropriate coordinate.
fn image_storage_coordinates(&self) -> Option<crate::ImageDimension> {
match *self {
Self::Scalar {