14#ifndef CLANG_BASIC_HLSLRUNTIME_H
15#define CLANG_BASIC_HLSLRUNTIME_H
26 static_cast<uint32_t
>(
E) -
static_cast<uint32_t
>(llvm::Triple::Pixel);
33#define ENUM_COMPARE_ASSERT(Value) \
35 getStageFromEnvironment(llvm::Triple::Value) == ShaderStage::Value, \
36 "Mismatch between llvm::Triple and clang::ShaderStage for " #Value);
56 "Mismatch between llvm::Triple and "
57 "clang::ShaderStage for Invalid");
60 "Mismatch between llvm::Triple and "
61 "clang::ShaderStage for Invalid");
#define ENUM_COMPARE_ASSERT(Value)
Defines the clang::LangOptions interface.
constexpr ShaderStage getStageFromEnvironment(const llvm::Triple::EnvironmentType &E)
The JSON file list parser is used to communicate input to InstallAPI.
ShaderStage
Shader programs run in specific pipeline stages.