Skip to content

Commit

Permalink
fixup! [naga spv-out] Don't emit unreachable blocks that jump into lo…
Browse files Browse the repository at this point in the history
…ops.
  • Loading branch information
ErichDonGubler committed Oct 3, 2024
1 parent 6e2bb81 commit 1505975
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions naga/src/back/spv/block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2076,10 +2076,6 @@ impl<'w> BlockContext<'w> {
/// validation error for the corresponding statement to occur in this
/// context.
///
/// Return `true` if control can reach the end of the block. This means that
/// `exit` was used. Otherwise, return `false`, indicating that `exit` was
/// unused.
///
/// [`Break`]: Statement::Break
/// [`Continue`]: Statement::Continue
fn write_block(
Expand Down

0 comments on commit 1505975

Please sign in to comment.