mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-10-30 05:51:42 +00:00
chore(msl-out): remove outdated "quick and dirty" comment
This commit is contained in:
parent
a8da664773
commit
06b0a67551
@ -3302,7 +3302,6 @@ impl<W: Write> Writer<W> {
|
||||
writeln!(self.out, "struct {name} {{")?;
|
||||
let mut last_offset = 0;
|
||||
for (index, member) in members.iter().enumerate() {
|
||||
// quick and dirty way to figure out if we need this...
|
||||
if member.offset > last_offset {
|
||||
self.struct_member_pads.insert((handle, index as u32));
|
||||
let pad = member.offset - last_offset;
|
||||
|
Loading…
Reference in New Issue
Block a user