clang 17.0.0git
Namespaces | Macros | Functions
HLSLRuntime.h File Reference

Defines helper utilities for supporting the HLSL runtime environment. More...

#include "clang/Basic/LangOptions.h"
#include <cstdint>
Include dependency graph for HLSLRuntime.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  clang
 
namespace  clang::hlsl
 

Macros

#define ENUM_COMPARE_ASSERT(Value)
 

Functions

constexpr ShaderStage clang::hlsl::getStageFromEnvironment (const llvm::Triple::EnvironmentType &E)
 

Detailed Description

Defines helper utilities for supporting the HLSL runtime environment.

Definition in file HLSLRuntime.h.

Macro Definition Documentation

◆ ENUM_COMPARE_ASSERT

#define ENUM_COMPARE_ASSERT (   Value)
Value:
static_assert( \
getStageFromEnvironment(llvm::Triple::Value) == ShaderStage::Value, \
"Mismatch between llvm::Triple and clang::ShaderStage for " #Value);

Definition at line 33 of file HLSLRuntime.h.