llvm::hlsl::rootsig

In-memory representations of HLSL root signature elements and helpers.

Types

NameDescription
DescriptorTable Descriptor table parameter; preceding clauses in the element array belong to this table.
DescriptorTableClause Descriptor table clause: a CBV, SRV, UAV, or Sampler range in a table.
MetadataBuilder Builds LLVM metadata nodes from an in-memory root signature.
MetadataParser Parses root-signature metadata into a container description.
Register HLSL register binding such as b0, t1, u2, or s3.
RootConstants Root constants parameter: a run of 32-bit values bound to a shader register.
RootDescriptor Root CBV, SRV, or UAV descriptor parameter in a root signature.
RootSignatureValidationError Error describing a failed root-signature validation or parse.
StaticSampler Static sampler descriptor in a root signature.

Type Aliases

NameDescription
RootElement Models RootElement : RootFlags | RootConstants | RootParam | DescriptorTable | DescriptorTableClause | StaticSampler

Enums

NameDescription
RegisterType Kind of HLSL register: b (CBV), t (SRV), u (UAV), or s (Sampler).
RootSignatureElementKind Kind of root-signature element encoded in metadata.

Functions

NameDescription
computeRangeBound Compute the inclusive upper bound of a register range.
dumpRootElements Dump each element of Elements to OS, one per line.
verifyDescriptorRangeFlag Return true if Flags are valid descriptor-range flags for Version and resource class Type.
verifyLOD Return true if LOD is a finite (non-NaN) level-of-detail value.
verifyMaxAnisotropy Return true if MaxAnisotropy is within the legal static-sampler range.
verifyMipLODBias Return true if MipLODBias is within the legal static-sampler range.
verifyNoOverflowedOffset Return true if Offset fits in a 32-bit register offset.
verifyNumDescriptors Return true if NumDescriptors is a positive descriptor-range size.
verifyRangeType Return true if Type is a valid descriptor-range resource class.
verifyRegisterSpace Return true if RegisterSpace is a legal register space.
verifyRegisterValue Return true if RegisterValue is a legal shader register index.
verifyRootDescriptorFlag Return true if Flags are valid root-descriptor flags for Version.
verifyRootFlag Return true if Flags is a valid combination of root flags.
verifyStaticSamplerFlags Return true if Flags are valid static-sampler flags for Version.
verifyVersion Return true if Version is a supported root signature version.
operator<< Stream insertion operators