mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 07:08:48 +00:00
Fix #3686
This commit is contained in:
@@ -504,6 +504,10 @@ gb_internal bool lb_is_matrix_simdable(Type *t) {
|
|||||||
if ((mt->Matrix.row_count & 1) ^ (mt->Matrix.column_count & 1)) {
|
if ((mt->Matrix.row_count & 1) ^ (mt->Matrix.column_count & 1)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if (mt->Matrix.is_row_major) {
|
||||||
|
// TODO(bill): make #row_major matrices work with SIMD
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
if (elem->kind == Type_Basic) {
|
if (elem->kind == Type_Basic) {
|
||||||
switch (elem->Basic.kind) {
|
switch (elem->Basic.kind) {
|
||||||
|
|||||||
Reference in New Issue
Block a user