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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang.cpp b/source/slang/slang.cpp
index 25419fb33..854d90df5 100644
--- a/source/slang/slang.cpp
+++ b/source/slang/slang.cpp
@@ -6890,7 +6890,7 @@ char const* EndToEndCompileRequest::getDependencyFilePath(int index)
auto program = frontEndReq->getGlobalAndEntryPointsComponentType();
SourceFile* sourceFile = program->getFileDependencies()[index];
return sourceFile->getPathInfo().hasFoundPath()
- ? sourceFile->getPathInfo().foundPath.getBuffer()
+ ? sourceFile->getPathInfo().getMostUniqueIdentity().getBuffer()
: "unknown";
}