summaryrefslogtreecommitdiffstats
path: root/source/slang/slang.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang.cpp')
-rw-r--r--source/slang/slang.cpp2
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");