mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-02-22 20:03:11 +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
|
/// - [`Storage`] images hold exactly one sample per texel, so `index` must
|
||||||
/// be `None`.
|
/// be `None`.
|
||||||
///
|
///
|
||||||
/// - [`Depth`] images may have mipmaps, so `index` must be `Some(level)`,
|
/// - [`Depth`] and [`Sampled`] images may be multisampled or have
|
||||||
/// where `level` identifies the level of detail.
|
/// mipmaps, but not both. Which one is indicated by the variant's
|
||||||
///
|
/// [`multi`] field:
|
||||||
/// - [`Sampled`] images may be multisampled or have mipmaps, but not both.
|
|
||||||
/// Which one is indicated by the `Sampled` variant's [`multi`] field:
|
|
||||||
///
|
///
|
||||||
/// - If `multi` is `true`, then the image has multiple samples per
|
/// - If `multi` is `true`, then the image has multiple samples per
|
||||||
/// texel, and `index` must be `Some(sample)`, where `sample` is
|
/// texel, and `index` must be `Some(sample)`, where `sample` is
|
||||||
|
Loading…
Reference in New Issue
Block a user