14#ifndef CLANG_BASIC_HLSLRUNTIME_H
15#define CLANG_BASIC_HLSLRUNTIME_H
27 static_cast<uint32_t
>(E) -
static_cast<uint32_t
>(llvm::Triple::Pixel);
38#define ENUM_COMPARE_ASSERT(Value) \
40 getStageFromEnvironment(llvm::Triple::Value) == ShaderStage::Value, \
41 "Mismatch between llvm::Triple and clang::ShaderStage for " #Value);
61 "Mismatch between llvm::Triple and "
62 "clang::ShaderStage for Invalid");
65 "Mismatch between llvm::Triple and "
66 "clang::ShaderStage for Invalid");
Provides definitions for the various language-specific address spaces.
#define ENUM_COMPARE_ASSERT(Value)
Defines the clang::LangOptions interface.
constexpr ShaderStage getStageFromEnvironment(const llvm::Triple::EnvironmentType &E)
constexpr bool isInitializedByPipeline(LangAS AS)
The JSON file list parser is used to communicate input to InstallAPI.
LangAS
Defines the address space values used by the address space qualifier of QualType.
ShaderStage
Shader programs run in specific pipeline stages.