diff options
Diffstat (limited to 'source/slang/slang-options.cpp')
| -rw-r--r-- | source/slang/slang-options.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/slang/slang-options.cpp b/source/slang/slang-options.cpp index fea9a1c71..944162acc 100644 --- a/source/slang/slang-options.cpp +++ b/source/slang/slang-options.cpp @@ -2185,8 +2185,8 @@ struct OptionsParser // If we don't have any raw outputs but do have a raw target, // and output type is callable, add an empty' rawOutput. - if (rawOutputs.getCount() == 0 && - rawTargets.getCount() == 1 && + if (rawOutputs.getCount() == 0 && + rawTargets.getCount() == 1 && ArtifactDescUtil::makeDescForCompileTarget(asExternal(rawTargets[0].format)).kind == ArtifactKind::HostCallable) { RawOutput rawOutput; |
