struct SPIRType

Defined at line 544 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
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 552 of file ../../third_party/spirv-cross/src/spirv_common.hpp

IVariant * clone (ObjectPoolBase * pool)

Defined at line 640 of file ../../third_party/spirv-cross/src/spirv_common.hpp

Enumerations

enum (unnamed)
Name Value
type TypeType

Defined at line 546 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 --
ControlPointArray 21

Keep internal types at the end.

Interpolant 22

Keep internal types at the end.

Char 23

Keep internal types at the end.

MeshGridProperties 24

MSL specific type, that is used by 'object'(analog of 'task' from glsl) shader.

Defined at line 554 of file ../../third_party/spirv-cross/src/spirv_common.hpp

Records