diff options
Diffstat (limited to 'source')
| -rw-r--r-- | source/slang/slang-check-decl.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/slang/slang-check-decl.cpp b/source/slang/slang-check-decl.cpp index 482f15aca..23c10ddc2 100644 --- a/source/slang/slang-check-decl.cpp +++ b/source/slang/slang-check-decl.cpp @@ -1605,8 +1605,6 @@ namespace Slang matrixType->getColumnCount(), getASTBuilder()->getIntVal(getASTBuilder()->getIntType(), matrixLayout)); varDecl->type.type = newMatrixType; - if (varDecl->initExpr) - varDecl->initExpr = coerce(CoercionSite::Initializer, varDecl->type, varDecl->initExpr); } } |
