Expand description
SPIR-V reflection helpers and types.
Structs§
- Active
Builtins Updated Proof - Proof that
Compiler::update_active_builtinswas called. - AllResources
- All SPIR-V resources declared in the module.
- Array
Size Hole - A size hole requiring the number of elements in a runtime array.
- Buffer
Range - A range over a buffer.
- Built
Dummy Sampler Proof - A proof that
Compiler::create_dummy_sampler_for_combined_imageswas called. - Builtin
Resource - Description of a built-in shader resource.
- Builtin
Resource Iter - Iterator over reflected builtin resources, created by
ShaderResources::builtin_resources_for_type. - Combined
Image Sampler - A combined image sampler.
- Combined
Image Sampler Iter - Iterator for
CombinedImageSampler. - Entry
Point - A SPIR-V entry point.
- Entry
Point Iter - Iterator type created by
Compiler::entry_points. - Extensions
Iter - Iterator for declared extensions, created by
Compiler::declared_extensions. - Image
Type - Type definition for an image or texture handle.
- Interface
Variable Set - A handle to a set of interface variables.
- Matrix
Stride Hole - A size hole requiring the stride of a matrix, and whether the matrix is column or row major.
- Resource
- Description of a shader resource.
- Resource
Iter - Iterator over reflected resources, created by
ShaderResources::resources_for_type. - Scalar
- A scalar type.
- Shader
Resources - A handle to shader resources.
- Specialization
Constant - A SPIR-V specialization constant
- Specialization
Constant Iter - An iterator over specialization constants, created by
Compiler::specialization_constants. - Specialization
SubConstant Iter - Iterator for specialization subconstants created by
Compiler::specialization_sub_constants. - Struct
Member - Type definition for a struct member.
- Struct
Type - Type definition for a struct.
- Type
- A type definition.
- Unknown
Stride Hole - A size hole representing a missing or unknown array stride.
- Workgroup
Size Specialization Constants - Specialization constants for a workgroup size.
Enums§
- Array
Dimension - Valid values that specify the dimensions of an array.
- BitWidth
- The bit width of a scalar.
- Builtin
Resource Type - The type of built-in resources to query.
- Decoration
Value - A value accompanying an
OpDecoration - Execution
Mode Arguments - Arguments to an
OpExecutionMode. - Image
Class - Class of image or texture handle.
- Resource
Type - The type of resource to query.
- Scalar
Kind - The kind of scalar
- Type
Inner - Enum with additional type information, depending on the kind of type.
- Type
Size Hint - A size hint for a type. This could be a statically known size, or need to resolve a hole before getting a more accurate.
Traits§
- Constant
Scalar - A marker trait for types that can be represented as a scalar SPIR-V constant.
- Constant
Value - A marker trait for types that can be represented as a SPIR-V constant.
- Resolve
Size - Trait for size hints that need to be resolved against a hole.