struct SPIRType
Defined at line 566 of file ../../third_party/spirv-cross/src/spirv_common.hpp
Public Members
Op op
BaseType basetype
uint32_t width
uint32_t vecsize
uint32_t columns
SmallVector array
SmallVector array_size_literal
uint32_t pointer_depth
bool pointer
bool forward_pointer
ext
StorageClass storage
SmallVector member_types
SmallVector member_type_index_redirection
ImageType image
TypedID type_alias
TypedID parent_type
unordered_set member_name_cache
Public Methods
void SPIRType (spv::Op op_)
Defined at line 574 of file ../../third_party/spirv-cross/src/spirv_common.hpp
IVariant * clone (ObjectPoolBase * pool)
Defined at line 698 of file ../../third_party/spirv-cross/src/spirv_common.hpp
Enumerations
enum (unnamed)
| Name | Value |
|---|---|
| type | TypeType |
Defined at line 568 of file ../../third_party/spirv-cross/src/spirv_common.hpp
enum BaseType
| Name | Value | Comments |
|---|---|---|
| Unknown | 0 | -- |
| Void | 1 | -- |
| Boolean | 2 | -- |
| SByte | 3 | -- |
| UByte | 4 | -- |
| Short | 5 | -- |
| UShort | 6 | -- |
| Int | 7 | -- |
| UInt | 8 | -- |
| Int64 | 9 | -- |
| UInt64 | 10 | -- |
| AtomicCounter | 11 | -- |
| Half | 12 | -- |
| Float | 13 | -- |
| Double | 14 | -- |
| Struct | 15 | -- |
| Image | 16 | -- |
| SampledImage | 17 | -- |
| Sampler | 18 | -- |
| AccelerationStructure | 19 | -- |
| RayQuery | 20 | -- |
| CoopVecNV | 21 | -- |
| ControlPointArray | 22 |
Keep internal types at the end. |
| Interpolant | 23 |
Keep internal types at the end. |
| Char | 24 |
Keep internal types at the end. |
| MeshGridProperties | 25 |
MSL specific type, that is used by 'object'(analog of 'task' from glsl) shader. |
| BFloat16 | 26 |
MSL specific type, that is used by 'object'(analog of 'task' from glsl) shader. |
| FloatE4M3 | 27 |
MSL specific type, that is used by 'object'(analog of 'task' from glsl) shader. |
| FloatE5M2 | 28 |
MSL specific type, that is used by 'object'(analog of 'task' from glsl) shader. |
| Tensor | 29 |
MSL specific type, that is used by 'object'(analog of 'task' from glsl) shader. |
| DescriptorHeapBuffer | 30 |
MSL specific type, that is used by 'object'(analog of 'task' from glsl) shader. |
Defined at line 576 of file ../../third_party/spirv-cross/src/spirv_common.hpp