Skip to content

Commit

Permalink
Avoid warnings about unknown Block decoration
Browse files Browse the repository at this point in the history
  • Loading branch information
Imberflur committed Feb 9, 2024
1 parent 9577d9b commit df527ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions naga/src/front/spv/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -711,6 +711,7 @@ impl<I: Iterator<Item = u32>> Frontend<I> {
inst.expect(base_words + 2)?;
dec.desc_index = Some(self.next()?);
}
spirv::Decoration::Block => {}
spirv::Decoration::BufferBlock => {
dec.storage_buffer = true;
}
Expand Down

0 comments on commit df527ef

Please sign in to comment.