We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a28377 commit 861a337Copy full SHA for 861a337
src/tint/lang/core/ir/binary/decode.cc
@@ -781,6 +781,10 @@ struct Decoder {
781
return mod_out_.Types().invalid();
782
}
783
auto* el_ty = Type(matrix_in.element_type());
784
+ if (el_ty == nullptr) {
785
+ err_ << "matrix element type is invalid\n";
786
+ return mod_out_.Types().invalid();
787
+ }
788
auto* column_ty = mod_out_.Types().vec(el_ty, matrix_in.num_rows());
789
return mod_out_.Types().mat(column_ty, matrix_in.num_columns());
790
0 commit comments