summaryrefslogtreecommitdiff
path: root/source/slang/slang-ir-specialize-matrix-layout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-ir-specialize-matrix-layout.cpp')
-rw-r--r--source/slang/slang-ir-specialize-matrix-layout.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/slang/slang-ir-specialize-matrix-layout.cpp b/source/slang/slang-ir-specialize-matrix-layout.cpp
index 5ce61f4cf..8f6ca1b12 100644
--- a/source/slang/slang-ir-specialize-matrix-layout.cpp
+++ b/source/slang/slang-ir-specialize-matrix-layout.cpp
@@ -24,12 +24,12 @@ namespace Slang
}
}
- void specializeMatrixLayout(TargetRequest* target, IRModule* module)
+ void specializeMatrixLayout(TargetProgram* target, IRModule* module)
{
List<IRMatrixType*> typeWorkList;
visitParent(typeWorkList, module->getModuleInst());
- IRIntegerValue defaultLayout = target->getDefaultMatrixLayoutMode();
+ IRIntegerValue defaultLayout = target->getOptionSet().getMatrixLayoutMode();
if (defaultLayout == SLANG_MATRIX_LAYOUT_MODE_UNKNOWN)
defaultLayout = SLANG_MATRIX_LAYOUT_ROW_MAJOR;