diff options
| author | Tony (Atanas) Zlatinski <tzlatinski@nvidia.com> | 2025-03-11 20:46:43 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-11 20:46:43 -0500 |
| commit | 133d705dcaa69f10f7a713605d5080405e49875c (patch) | |
| tree | ac375cfab81192d9d37f241c63117d926021468a /source/slang/slang.cpp | |
| parent | 5d6578b9d58d7ad46503d9124cccf8a68ecd5902 (diff) | |
Set the HLSL supported compiler version to 2018 (#6502)
Co-authored-by: Jay Kwak <82421531+jkwak-work@users.noreply.github.com>
Diffstat (limited to 'source/slang/slang.cpp')
| -rw-r--r-- | source/slang/slang.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang.cpp b/source/slang/slang.cpp index a23342458..8dfaf115e 100644 --- a/source/slang/slang.cpp +++ b/source/slang/slang.cpp @@ -2365,7 +2365,7 @@ Dictionary<String, String> TranslationUnitRequest::getCombinedPreprocessorDefini // variables. { // Used to identify level of HLSL language compatibility - combinedPreprocessorDefinitions.addIfNotExists("__HLSL_VERSION", "2020"); + combinedPreprocessorDefinitions.addIfNotExists("__HLSL_VERSION", "2018"); // Indicates this is being compiled by the slang *compiler* combinedPreprocessorDefinitions.addIfNotExists("__SLANG_COMPILER__", "1"); |
