mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-02-21 11:22:42 +00:00
ImageLoad
doc fix: Depth
images can be multisampled, now.
This commit is contained in:
parent
cefaa396d4
commit
6ab6d6fc46
@ -1082,11 +1082,9 @@ pub enum Expression {
|
||||
/// - [`Storage`] images hold exactly one sample per texel, so `index` must
|
||||
/// be `None`.
|
||||
///
|
||||
/// - [`Depth`] images may have mipmaps, so `index` must be `Some(level)`,
|
||||
/// where `level` identifies the level of detail.
|
||||
///
|
||||
/// - [`Sampled`] images may be multisampled or have mipmaps, but not both.
|
||||
/// Which one is indicated by the `Sampled` variant's [`multi`] field:
|
||||
/// - [`Depth`] and [`Sampled`] images may be multisampled or have
|
||||
/// mipmaps, but not both. Which one is indicated by the variant's
|
||||
/// [`multi`] field:
|
||||
///
|
||||
/// - If `multi` is `true`, then the image has multiple samples per
|
||||
/// texel, and `index` must be `Some(sample)`, where `sample` is
|
||||
|
Loading…
Reference in New Issue
Block a user