diff options
Diffstat (limited to 'source/slang/emit.cpp')
| -rw-r--r-- | source/slang/emit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/emit.cpp b/source/slang/emit.cpp index 3f88ab82d..1b8de806a 100644 --- a/source/slang/emit.cpp +++ b/source/slang/emit.cpp @@ -4134,7 +4134,7 @@ struct EmitVisitor EntryPointLayout* entryPointLayout) { auto profile = ctx->shared->effectiveProfile; - auto stage = profile.GetStage(); + auto stage = entryPointLayout->profile.GetStage(); if(profile.getFamily() == ProfileFamily::DX) { |
