Skip to content

Commit

Permalink
[naga spv-in] Doc fix: Parser -> Frontend
Browse files Browse the repository at this point in the history
Fix documentation left unchanged when `Parser` was renamed to
`Frontend`.
  • Loading branch information
jimblandy authored and teoxoy committed May 23, 2024
1 parent 9f74b15 commit b898cdf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions naga/src/front/spv/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -313,14 +313,14 @@ struct LookupVariable {
type_id: spirv::Word,
}

/// Information about SPIR-V result ids, stored in `Parser::lookup_expression`.
/// Information about SPIR-V result ids, stored in `Frontend::lookup_expression`.
#[derive(Clone, Debug)]
struct LookupExpression {
/// The `Expression` constructed for this result.
///
/// Note that, while a SPIR-V result id can be used in any block dominated
/// by its definition, a Naga `Expression` is only in scope for the rest of
/// its subtree. `Parser::get_expr_handle` takes care of spilling the result
/// its subtree. `Frontend::get_expr_handle` takes care of spilling the result
/// to a `LocalVariable` which can then be used anywhere.
handle: Handle<crate::Expression>,

Expand Down

0 comments on commit b898cdf

Please sign in to comment.