Skip to content

Commit

Permalink
Re-add removed newline.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vecvec committed Feb 19, 2025
1 parent 6c43c66 commit fe12ef3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions naga/src/back/spv/block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ impl BlockContext<'_> {
if self.fun_info[expr_handle].ref_count == 0 && !is_named_expression {
return Ok(());
}

let result_type_id = self.get_expression_type_id(&self.fun_info[expr_handle].ty);
let id = match self.ir_function.expressions[expr_handle] {
crate::Expression::Literal(literal) => self.writer.get_constant_scalar(literal),
Expand Down

0 comments on commit fe12ef3

Please sign in to comment.