summaryrefslogtreecommitdiff
path: root/source/slang/slang-ir-lower-reinterpret.cpp
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2023-09-18 20:46:57 -0700
committerGitHub <noreply@github.com>2023-09-18 20:46:57 -0700
commitd1efc69a20d941116d1398e4471689658cd6b888 (patch)
tree22d7e56c02cea2d125ba483089a85205bbf45c15 /source/slang/slang-ir-lower-reinterpret.cpp
parent95fcf65c38d52ed458a3b11622ea8b55a3864c24 (diff)
Use target-dependent pointer size in natural layout. (#3210)
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'source/slang/slang-ir-lower-reinterpret.cpp')
-rw-r--r--source/slang/slang-ir-lower-reinterpret.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-ir-lower-reinterpret.cpp b/source/slang/slang-ir-lower-reinterpret.cpp
index 689cc8505..c4d39b635 100644
--- a/source/slang/slang-ir-lower-reinterpret.cpp
+++ b/source/slang/slang-ir-lower-reinterpret.cpp
@@ -88,7 +88,7 @@ void lowerReinterpret(TargetRequest* targetReq, IRModule* module, DiagnosticSink
// Before processing reinterpret insts, ensure that existential types without
// user-defined sizes have inferred sizes where possible.
//
- inferAnyValueSizeWhereNecessary(module);
+ inferAnyValueSizeWhereNecessary(targetReq, module);
ReinterpretLoweringContext context;
context.module = module;