diff options
Diffstat (limited to 'source')
| -rw-r--r-- | source/slang/slang.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/slang/slang.cpp b/source/slang/slang.cpp index 8d73cc0ef..21944e4f3 100644 --- a/source/slang/slang.cpp +++ b/source/slang/slang.cpp @@ -1337,6 +1337,7 @@ void Linkage::addTarget(slang::TargetDesc const& desc) optionSet.setProfile(Profile(desc.profile)); optionSet.set(CompilerOptionName::LineDirectiveMode, LineDirectiveMode(desc.lineDirectiveMode)); optionSet.set(CompilerOptionName::GLSLForceScalarLayout, desc.forceGLSLScalarBufferLayout); + optionSet.load(desc.compilerOptionEntryCount, desc.compilerOptionEntries); } #if 0 |
