diff options
Diffstat (limited to 'source/slang/slang.cpp')
| -rw-r--r-- | source/slang/slang.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/slang/slang.cpp b/source/slang/slang.cpp index 2f02dcfb7..597e27bb9 100644 --- a/source/slang/slang.cpp +++ b/source/slang/slang.cpp @@ -6,6 +6,7 @@ #include "../core/slang-archive-file-system.h" #include "../core/slang-type-text-util.h" #include "../core/slang-type-convert-util.h" +#include "../core/slang-castable.h" // Artifact #include "../compiler-core/slang-artifact-impl.h" @@ -5378,7 +5379,7 @@ SlangResult EndToEndCompileRequest::isParameterLocationUsed(Int entryPointIndex, return SLANG_E_INVALID_ARG; // Find a rep - auto metadata = findAssociated<IArtifactPostEmitMetadata>(artifact); + auto metadata = findAssociatedRepresentation<IArtifactPostEmitMetadata>(artifact); if (!metadata) return SLANG_E_NOT_AVAILABLE; |
