Skip to content

Commit 484725f

Browse files
committed
fix feature flag comment
1 parent caac311 commit 484725f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

wgpu-types/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1063,7 +1063,7 @@ bitflags::bitflags! {
10631063

10641064
/// Supports samplers with anisotropic filtering. Note this isn't actually required by
10651065
/// WebGPU, the implementation is allowed to completely ignore aniso clamp. This flag is
1066-
/// here for native backends so they can comunicate to the user of aniso is enabled.
1066+
/// here for native backends so they can communi cate to the user of aniso is enabled.
10671067
///
10681068
/// All backends and all devices support anisotropic filtering.
10691069
const ANISOTROPIC_FILTERING = 1 << 10;
@@ -1089,8 +1089,8 @@ bitflags::bitflags! {
10891089
const BUFFER_BINDINGS_NOT_16_BYTE_ALIGNED = 1 << 15;
10901090

10911091
/// Supports buffers to combine [`BufferUsages::INDEX`] with usages other than [`BufferUsages::COPY_DST`] and [`BufferUsages::COPY_SRC`].
1092-
/// Furthermore, in absence of this feature it is not allowed to copy index buffers from/to buffers with usages other than
1093-
/// [`BufferUsages::INDEX`]/[`BufferUsages::COPY_DST`]/[`BufferUsages::COPY_SRC`].
1092+
/// Furthermore, in absence of this feature it is not allowed to copy index buffers from/to buffers with a set of usage flags containing
1093+
/// [`BufferUsages::VERTEX`]/[`BufferUsages::UNIFORM`]/[`BufferUsages::STORAGE`] or [`BufferUsages::INDIRECT`].
10941094
///
10951095
/// WebGL doesn't support this.
10961096
const UNRESTRICTED_INDEX_BUFFER = 1 << 16;

0 commit comments

Comments
 (0)