diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2020-05-29 08:36:10 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-29 08:36:10 -0400 |
| commit | f3d70425fa339a0d8f39b920235c98280d250bbb (patch) | |
| tree | 24923917e3ca43fdc1b3ca67ee589973c92a4b60 /source/slang/slang-ir-type-set.cpp | |
| parent | 95597d77b131ee2c41c2eb4481844c315b2c82eb (diff) | |
Feature/ast syntax standard (#1360)
* Small improvements to documentation and code around DiagnosticSink
* Made methods/functions in slang-syntax.h be lowerCamel
Removed some commented out source (was placed elsewhere in code)
* Making AST related methods and function lowerCamel.
Made IsLeftValue -> isLeftValue.
Diffstat (limited to 'source/slang/slang-ir-type-set.cpp')
| -rw-r--r-- | source/slang/slang-ir-type-set.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/slang/slang-ir-type-set.cpp b/source/slang/slang-ir-type-set.cpp index e5271698c..047f9fb95 100644 --- a/source/slang/slang-ir-type-set.cpp +++ b/source/slang/slang-ir-type-set.cpp @@ -118,7 +118,7 @@ IRInst* IRTypeSet::cloneInst(IRInst* inst) case kIROp_VectorType: { auto vecType = static_cast<IRVectorType*>(inst); - const Index elementCount = Index(GetIntVal(vecType->getElementCount())); + const Index elementCount = Index(getIntVal(vecType->getElementCount())); if (elementCount <= 1) { @@ -129,8 +129,8 @@ IRInst* IRTypeSet::cloneInst(IRInst* inst) case kIROp_MatrixType: { auto matType = static_cast<IRMatrixType*>(inst); - const Index columnCount = Index(GetIntVal(matType->getColumnCount())); - const Index rowCount = Index(GetIntVal(matType->getRowCount())); + const Index columnCount = Index(getIntVal(matType->getColumnCount())); + const Index rowCount = Index(getIntVal(matType->getRowCount())); if (columnCount <= 1 && rowCount <= 1) { |
