summaryrefslogtreecommitdiffstats
path: root/source/slang/slang-reflection-api.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-reflection-api.cpp')
-rw-r--r--source/slang/slang-reflection-api.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-reflection-api.cpp b/source/slang/slang-reflection-api.cpp
index 065c2c3f6..258266da5 100644
--- a/source/slang/slang-reflection-api.cpp
+++ b/source/slang/slang-reflection-api.cpp
@@ -3906,7 +3906,7 @@ SLANG_API int64_t spReflectionGeneric_GetConcreteIntVal(
auto valueParamDeclRef = convert(valueParam);
- Val* valResult = astBuilder->getOrCreate<GenericParamIntVal>(
+ Val* valResult = astBuilder->getOrCreate<DeclRefIntVal>(
valueParamDeclRef.substitute(
astBuilder,
as<GenericValueParamDecl>(valueParamDeclRef.getDecl())->getType()),