llvm::dxbc

Constants, structures, and helpers for the DirectX DXContainer (DXBC) object-file format.

Namespaces

NameDescription
PSV Pipeline State Validation (PSV0) part layout.
RTS0 Root signature (RTS0) part layout, versioned to match D3D12.
SourceInfo Source-info (SRCI) part layout for compiler inputs.

Types

NameDescription
AmplificationPSVInfo Amplification-shader extras stored in PipelinePSVInfo.
BitcodeHeader Header of the LLVM bitcode blob inside a program part.
CompilerVersionHeader Header of a compiler-version (VERS) part.
ContainerVersion DXContainer format version.
DebugNameHeader Header of a shader debug-name (ILDN) part.
DomainPSVInfo Domain-shader extras stored in PipelinePSVInfo.
GeometryPSVInfo Geometry-shader extras stored in PipelinePSVInfo.
Hash 16-byte digest used by the DXContainer file hash.
Header File header at the start of a DXContainer.
HullPSVInfo Hull-shader extras stored in PipelinePSVInfo.
MeshPSVInfo Mesh-shader extras stored in PipelinePSVInfo.
PartHeader Describes the size and type of a DXIL container part.
PipelinePSVInfo Pipeline-stage-specific PSV info, selected by shader stage.
PixelPSVInfo Pixel-shader extras stored in PipelinePSVInfo.
ProgramHeader Header of a program (DXIL or ILDB) part.
ProgramSignatureElement One parameter in a program input, output, or patch-constant signature.
ProgramSignatureHeader Header of a program signature (ISG1/OSG1/PSG1) part.
ShaderHash Shader hash stored in a HASH part.
VertexPSVInfo Vertex-shader extras stored in PipelinePSVInfo.

Enums

NameDescription
ComparisonFunc Comparison functions used by comparison sampling.
CompilerVersionFlags Flags describing how the compiler that produced a VERS part was built.
D3DSystemValue D3D system-value semantics used in program signatures.
DescriptorRangeFlags Flags on a descriptor range in a descriptor table.
FeatureFlags Shader feature flags stored in the SFI0 part.
HashFlags Flags that describe how a shader hash was computed.
PartType Four-character DXContainer part identifiers.
RootDescriptorFlags Flags on a root CBV, SRV, or UAV descriptor.
RootFlags D3D12 root signature flags.
RootParameterType Kinds of parameters in a D3D12 root signature.
RootSignatureVersion Serialized D3D12 root signature version identifiers (D3D_ROOT_SIGNATURE_VERSION).
SamplerFilter Sampler filter modes.
ShaderVisibility Shader stages that can access a root-signature parameter or sampler.
SigComponentType Component type of a program-signature parameter.
SigMinPrecision Minimum precision of a program-signature component.
StaticBorderColor Border colors available to static samplers.
StaticSamplerFlags Flags on a static sampler.
TextureAddressMode Texture addressing modes for static samplers.

Functions

NameDescription
getComparisonFuncs Return the enumerator name table for ComparisonFunc.
getD3DSystemValues Return the enumerator name table for D3DSystemValue.
getDescriptorRangeFlags Return the enumerator name table for DescriptorRangeFlags.
getProgramPartName Return the four-character part name for a program part.
getRootDescriptorFlags Return the enumerator name table for RootDescriptorFlags.
getRootFlags Return the enumerator name table for RootFlags.
getRootParameterTypes Return the enumerator name table for RootParameterType.
getSamplerFilters Return the enumerator name table for SamplerFilter.
getShaderStage Map a DXBC shader-kind integer to a Triple environment type.
getShaderVisibility Return the enumerator name table for ShaderVisibility.
getSigComponentTypes Return the enumerator name table for SigComponentType.
getSigMinPrecisions Return the enumerator name table for SigMinPrecision.
getStaticBorderColors Return the enumerator name table for StaticBorderColor.
getStaticSamplerFlags Return the enumerator name table for StaticSamplerFlags.
getTextureAddressModes Return the enumerator name table for TextureAddressMode.
isDebugProgramPart Return true if PT is the debug program (ILDB) part.
isProgramPart Return true if PartName is a program part name (DXIL or ILDB).
isValidAddress Return true if V is a valid TextureAddressMode value.
isValidBorderColor Return true if V is a valid StaticBorderColor value.
isValidComparisonFunc Return true if V is a valid ComparisonFunc value.
isValidCompilerVersionFlags Return true if V is a valid combination of CompilerVersionFlags.
isValidDescriptorRangeFlags Return true if V is a valid combination of DescriptorRangeFlags.
isValidParameterType Return true if V is a valid RootParameterType value.
isValidRangeType Return true if V is a valid descriptor-range resource class.
isValidRootDesciptorFlags Return true if V is a valid combination of RootDescriptorFlags.
isValidSamplerFilter Return true if V is a valid SamplerFilter value.
isValidShaderVisibility Return true if V is a valid ShaderVisibility value.
isValidStaticSamplerFlags Return true if V is a valid combination of StaticSamplerFlags.
parsePartType Parse a four-character part name into a PartType.

Using Declarations

NameDescription
any Bring bitmask enum any-bits-set test into this namespace for ADL.
operator! Bring bitmask enum logical-not into this namespace for ADL.
operator& Bring bitmask enum bitwise AND into this namespace for ADL.
operator&= Bring bitmask enum in-place AND into this namespace for ADL.
operator<< Bring bitmask enum left-shift into this namespace for ADL.
operator<<= Bring bitmask enum in-place left-shift into this namespace for ADL.
operator>> Bring bitmask enum right-shift into this namespace for ADL.
operator>>= Bring bitmask enum in-place right-shift into this namespace for ADL.
operator^ Bring bitmask enum bitwise XOR into this namespace for ADL.
operator^= Bring bitmask enum in-place XOR into this namespace for ADL.
operator| Bring bitmask enum bitwise OR into this namespace for ADL.
operator|= Bring bitmask enum in-place OR into this namespace for ADL.
operator~ Bring bitmask enum bitwise NOT into this namespace for ADL.