Skip to content

Commit

Permalink
Update mod.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Teodor Tanasoaia <[email protected]>
  • Loading branch information
evahop and teoxoy authored Sep 26, 2023
1 parent 6c2bbfd commit be5abf4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/back/glsl/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1129,6 +1129,7 @@ impl<'a, W: Write> Writer<'a, W> {
let ty_name = &self.names[&NameKey::Type(global.ty)];
let block_name = format!(
"{}_block_{}{:?}",
// avoid double underscores as they are reserved in GLSL
ty_name.trim_end_matches('_'),
self.block_id.generate(),
self.entry_point.stage,
Expand Down

0 comments on commit be5abf4

Please sign in to comment.