mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-26 01:11:22 +01:00
chore(msl-out): should_pack_struct_member: remove unnecessary alignment check for vec3s
This commit is contained in:
1 parent
611da6da2d
commit
a8da664773
1 file changed
+1
-1
@@ -370,7 +370,7 @@ fn should_pack_struct_member(
|
||||
crate::TypeInner::Vector {
|
||||
size: crate::VectorSize::Tri,
|
||||
scalar: scalar @ crate::Scalar { width: 4, .. },
|
||||
} if member.offset & 0xF != 0 || is_tight => Some(scalar),
|
||||
} if is_tight => Some(scalar),
|
||||
_ => None,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user