diff options
Diffstat (limited to 'source/slang/slang-ast-type.cpp')
| -rw-r--r-- | source/slang/slang-ast-type.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/slang/slang-ast-type.cpp b/source/slang/slang-ast-type.cpp index 7ea5e8ed1..6d4a52cae 100644 --- a/source/slang/slang-ast-type.cpp +++ b/source/slang/slang-ast-type.cpp @@ -238,6 +238,11 @@ IntVal* MatrixExpressionType::getColumnCount() return as<IntVal>(_getGenericTypeArg(this, 2)); } +IntVal* MatrixExpressionType::getLayout() +{ + return as<IntVal>(_getGenericTypeArg(this, 3)); +} + Type* MatrixExpressionType::getRowType() { if (!rowType) |
