Skip to content

Commit

Permalink
fixup! fixup! implement const-expressions (phase 1)
Browse files Browse the repository at this point in the history
  • Loading branch information
teoxoy committed Jul 17, 2023
1 parent cbffe7e commit e9c4d44
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/front/wgsl/lower/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1007,7 +1007,6 @@ impl<'source, 'temp> Lowerer<'source, 'temp> {
let mut emitter = Emitter::default();
emitter.start(ctx.naga_expressions);

// TODO: don't call interrupt_emitter for Literal, Constant or ZeroValue for named expressions (i.e. let declarations)
let value = self.expression(l.init, ctx.as_expression(block, &mut emitter))?;

let explicit_ty =
Expand Down

0 comments on commit e9c4d44

Please sign in to comment.