Skip to content
This repository has been archived by the owner on Jan 29, 2025. It is now read-only.

Commit

Permalink
Update src/front/wgsl/lower/mod.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Teodor Tanasoaia <[email protected]>
  • Loading branch information
fornwall and teoxoy authored Aug 29, 2023
1 parent 4bd03fd commit 54a71b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/front/wgsl/lower/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1702,7 +1702,7 @@ impl<'source, 'temp> Lowerer<'source, 'temp> {
crate::RelationalFunction::All | crate::RelationalFunction::Any
) && {
ctx.grow_types(argument)?;
matches!(ctx.resolved_inner(argument), &crate::TypeInner::Scalar { kind, .. } if kind == crate::ScalarKind::Bool)
matches!(ctx.resolved_inner(argument), &crate::TypeInner::Scalar { kind: crate::ScalarKind::Bool, .. })
};

if argument_unmodified {
Expand Down

0 comments on commit 54a71b7

Please sign in to comment.