Skip to content

Commit 1d1df9a

Browse files
authored
TSL Transpiler: Support matrix types. (#30501)
1 parent 89d62af commit 1d1df9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/jsm/transpiler/GLSLDecoder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ class Tokenizer {
224224

225225
}
226226

227-
const isType = ( str ) => /void|bool|float|u?int|(u|i)?vec[234]/.test( str );
227+
const isType = ( str ) => /void|bool|float|u?int|mat[234]|(u|i)?vec[234]/.test( str );
228228

229229
class GLSLDecoder {
230230

0 commit comments

Comments
 (0)