summaryrefslogtreecommitdiffstats
path: root/source/slang/slang.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang.cpp')
-rw-r--r--source/slang/slang.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/slang/slang.cpp b/source/slang/slang.cpp
index 4921c9a7d..7bc73fd2c 100644
--- a/source/slang/slang.cpp
+++ b/source/slang/slang.cpp
@@ -1420,6 +1420,12 @@ void Linkage::buildHash(DigestBuilder<SHA1>& builder, SlangInt targetIndex)
builder.append(defVal);
}
+ // Add compiler settings to hash
+ builder.append(defaultMatrixLayoutMode);
+ builder.append(debugInfoLevel);
+ builder.append(debugInfoFormat);
+ builder.append(optimizationLevel);
+
// Add the target specified by targetIndex
auto targetReq = targets[targetIndex];
builder.append(targetReq->getTarget());