LLVM 22.0.0git
Namespaces | Macros | Functions
RootSignatureValidations.cpp File Reference
#include "llvm/Frontend/HLSL/RootSignatureValidations.h"
#include <cmath>
#include "llvm/BinaryFormat/DXContainerConstants.def"

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
namespace  llvm::hlsl
 
namespace  llvm::hlsl::rootsig
 

Macros

#define FILTER(Num, Val)   case llvm::to_underlying(dxbc::SamplerFilter::Val):
 
#define TEXTURE_ADDRESS_MODE(Num, Val)    case llvm::to_underlying(dxbc::TextureAddressMode::Val):
 
#define COMPARISON_FUNC(Num, Val)    case llvm::to_underlying(dxbc::ComparisonFunc::Val):
 
#define STATIC_BORDER_COLOR(Num, Val)    case llvm::to_underlying(dxbc::StaticBorderColor::Val):
 

Functions

LLVM_ABI bool llvm::hlsl::rootsig::verifyRootFlag (uint32_t Flags)
 
LLVM_ABI bool llvm::hlsl::rootsig::verifyVersion (uint32_t Version)
 
LLVM_ABI bool llvm::hlsl::rootsig::verifyRegisterValue (uint32_t RegisterValue)
 
LLVM_ABI bool llvm::hlsl::rootsig::verifyRegisterSpace (uint32_t RegisterSpace)
 
LLVM_ABI bool llvm::hlsl::rootsig::verifyRootDescriptorFlag (uint32_t Version, uint32_t FlagsVal)
 
LLVM_ABI bool llvm::hlsl::rootsig::verifyRangeType (uint32_t Type)
 
LLVM_ABI bool llvm::hlsl::rootsig::verifyDescriptorRangeFlag (uint32_t Version, uint32_t Type, uint32_t FlagsVal)
 
LLVM_ABI bool llvm::hlsl::rootsig::verifyNumDescriptors (uint32_t NumDescriptors)
 
LLVM_ABI bool llvm::hlsl::rootsig::verifySamplerFilter (uint32_t Value)
 
LLVM_ABI bool llvm::hlsl::rootsig::verifyAddress (uint32_t Address)
 
LLVM_ABI bool llvm::hlsl::rootsig::verifyMipLODBias (float MipLODBias)
 
LLVM_ABI bool llvm::hlsl::rootsig::verifyMaxAnisotropy (uint32_t MaxAnisotropy)
 
LLVM_ABI bool llvm::hlsl::rootsig::verifyComparisonFunc (uint32_t ComparisonFunc)
 
LLVM_ABI bool llvm::hlsl::rootsig::verifyBorderColor (uint32_t BorderColor)
 
LLVM_ABI bool llvm::hlsl::rootsig::verifyLOD (float LOD)
 

Macro Definition Documentation

◆ COMPARISON_FUNC

#define COMPARISON_FUNC (   Num,
  Val 
)     case llvm::to_underlying(dxbc::ComparisonFunc::Val):

◆ FILTER

#define FILTER (   Num,
  Val 
)    case llvm::to_underlying(dxbc::SamplerFilter::Val):

◆ STATIC_BORDER_COLOR

#define STATIC_BORDER_COLOR (   Num,
  Val 
)     case llvm::to_underlying(dxbc::StaticBorderColor::Val):

◆ TEXTURE_ADDRESS_MODE

#define TEXTURE_ADDRESS_MODE (   Num,
  Val 
)     case llvm::to_underlying(dxbc::TextureAddressMode::Val):