diff options
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
-rw-r--r-- | clang/lib/Frontend/InitPreprocessor.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/lib/Frontend/InitPreprocessor.cpp b/clang/lib/Frontend/InitPreprocessor.cpp index 89e9cb0..011a674 100644 --- a/clang/lib/Frontend/InitPreprocessor.cpp +++ b/clang/lib/Frontend/InitPreprocessor.cpp @@ -401,11 +401,6 @@ static void InitializeStandardPredefinedMacros(const TargetInfo &TI, uint32_t StageInteger = StageInteger = (uint32_t)TI.getTriple().getEnvironment() - (uint32_t)llvm::Triple::Pixel; - // TODO: When we add raytracing support we can clean this up - if (TI.getTriple().getEnvironment() == llvm::Triple::Mesh) - StageInteger = (uint32_t)ShaderStage::Mesh; - else if (TI.getTriple().getEnvironment() == llvm::Triple::Amplification) - StageInteger = (uint32_t)ShaderStage::Amplification; Builder.defineMacro("__SHADER_TARGET_STAGE", Twine(StageInteger)); // Add target versions |