mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-16 09:12:23 -04:00
Make #simd an opaque type
This commit is contained in:
1 parent
d8e77cd738
commit
b032d5af87
5 files changed
+34
-24
No files matched your search
+1
-1
@@ -3446,7 +3446,7 @@ i64 type_align_of_internal(Type *t, TypePath *path) {
|
||||
|
||||
case Type_SimdVector: {
|
||||
// IMPORTANT TODO(bill): Figure out the alignment of vector types
|
||||
return gb_clamp(next_pow2(type_size_of_internal(t, path)), 1, build_context.max_align);
|
||||
return gb_clamp(next_pow2(type_size_of_internal(t, path)), 1, build_context.max_align*2);
|
||||
}
|
||||
|
||||
case Type_Matrix:
|
||||
|
||||
Reference in new issue
Block a user