Skip to content

Commit f011b1b

Browse files
authored
Remove docs about ImageSample.offset refering to global expr
1 parent 7f1b037 commit f011b1b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

naga/src/lib.rs

-4
Original file line numberDiff line numberDiff line change
@@ -1521,7 +1521,6 @@ pub enum Expression {
15211521
gather: Option<SwizzleComponent>,
15221522
coordinate: Handle<Expression>,
15231523
array_index: Option<Handle<Expression>>,
1524-
/// This refers to an expression in [`Module::global_expressions`].
15251524
offset: Option<Handle<Expression>>,
15261525
level: SampleLevel,
15271526
depth_ref: Option<Handle<Expression>>,
@@ -2207,9 +2206,6 @@ pub struct Function {
22072206
/// - Various expressions hold [`Type`] handles, and [`Type`]s may refer to
22082207
/// global expressions, for things like array lengths.
22092208
///
2210-
/// - [`Expression::ImageSample::offset`] refers to an expression in
2211-
/// [`Module::global_expressions`].
2212-
///
22132209
/// An [`Expression`] must occur before all other [`Expression`]s that use
22142210
/// its value.
22152211
///

0 commit comments

Comments
 (0)