summaryrefslogtreecommitdiffstats
path: root/source/slang/emit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/emit.cpp')
-rw-r--r--source/slang/emit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/emit.cpp b/source/slang/emit.cpp
index 1c02b64ef..f8d90bc2e 100644
--- a/source/slang/emit.cpp
+++ b/source/slang/emit.cpp
@@ -1969,7 +1969,7 @@ struct EmitVisitor
// then types/variables defined in those modules should be emitted in
// a way that is consistent with that layout...
- auto matrixLayoutMode = targetReq->defaultMatrixLayoutMode;
+ auto matrixLayoutMode = targetReq->getDefaultMatrixLayoutMode();
switch(context->shared->target)
{