Skip to content

Commit e8d31df

Browse files
committed
Add comment that mentions level.
1 parent 3389d2b commit e8d31df

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crates/spirv-std/src/image.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,8 @@ impl<
164164
}
165165

166166
/// Fetch a single texel at a mipmap `lod` with a sampler set at compile time
167+
///
168+
/// `lod` is also known as `level` in WGSL's `textureLoad`
167169
#[crate::macros::gpu_only]
168170
#[doc(alias = "OpImageFetch")]
169171
pub fn fetch_with_lod<I>(

0 commit comments

Comments
 (0)