#include <spirv_common.hpp>
|
enum | { type = TypeConstant
} |
|
|
uint32_t | specialization_constant_id (uint32_t col, uint32_t row) const |
|
uint32_t | specialization_constant_id (uint32_t col) const |
|
uint32_t | scalar (uint32_t col=0, uint32_t row=0) const |
|
uint16_t | scalar_u16 (uint32_t col=0, uint32_t row=0) const |
|
float | scalar_f16 (uint32_t col=0, uint32_t row=0) const |
|
float | scalar_f32 (uint32_t col=0, uint32_t row=0) const |
|
int32_t | scalar_i32 (uint32_t col=0, uint32_t row=0) const |
|
double | scalar_f64 (uint32_t col=0, uint32_t row=0) const |
|
int64_t | scalar_i64 (uint32_t col=0, uint32_t row=0) const |
|
uint64_t | scalar_u64 (uint32_t col=0, uint32_t row=0) const |
|
const ConstantVector & | vector () const |
|
uint32_t | vector_size () const |
|
uint32_t | columns () const |
|
void | make_null (const SPIRType &constant_type_) |
|
| SPIRConstant (uint32_t constant_type_) |
|
| SPIRConstant ()=default |
|
| SPIRConstant (uint32_t constant_type_, const uint32_t *elements, uint32_t num_elements, bool specialized) |
|
| SPIRConstant (uint32_t constant_type_, uint32_t v0, bool specialized) |
|
| SPIRConstant (uint32_t constant_type_, uint64_t v0, bool specialized) |
|
| SPIRConstant (uint32_t constant_type_, const SPIRConstant *const *vector_elements, uint32_t num_elements, bool specialized) |
|
virtual | ~IVariant ()=default |
|
◆ anonymous enum
◆ SPIRConstant() [1/6]
spirv_cross::SPIRConstant::SPIRConstant |
( |
uint32_t |
constant_type_ | ) |
|
|
inlineexplicit |
◆ SPIRConstant() [2/6]
spirv_cross::SPIRConstant::SPIRConstant |
( |
| ) |
|
|
default |
◆ SPIRConstant() [3/6]
◆ SPIRConstant() [4/6]
◆ SPIRConstant() [5/6]
◆ SPIRConstant() [6/6]
◆ columns()
uint32_t spirv_cross::SPIRConstant::columns |
( |
| ) |
const |
|
inline |
◆ f16_to_f32()
static float spirv_cross::SPIRConstant::f16_to_f32 |
( |
uint16_t |
u16_value | ) |
|
|
inlinestatic |
◆ make_null()
◆ scalar()
◆ scalar_f16()
float spirv_cross::SPIRConstant::scalar_f16 |
( |
uint32_t |
col = 0 , |
|
|
uint32_t |
row = 0 |
|
) |
| const |
|
inline |
◆ scalar_f32()
float spirv_cross::SPIRConstant::scalar_f32 |
( |
uint32_t |
col = 0 , |
|
|
uint32_t |
row = 0 |
|
) |
| const |
|
inline |
◆ scalar_f64()
double spirv_cross::SPIRConstant::scalar_f64 |
( |
uint32_t |
col = 0 , |
|
|
uint32_t |
row = 0 |
|
) |
| const |
|
inline |
◆ scalar_i32()
◆ scalar_i64()
◆ scalar_u16()
◆ scalar_u64()
◆ specialization_constant_id() [1/2]
◆ specialization_constant_id() [2/2]
uint32_t spirv_cross::SPIRConstant::specialization_constant_id |
( |
uint32_t |
col | ) |
const |
|
inline |
◆ vector()
◆ vector_size()
uint32_t spirv_cross::SPIRConstant::vector_size |
( |
| ) |
const |
|
inline |
◆ constant_type
uint32_t spirv_cross::SPIRConstant::constant_type |
◆ is_used_as_array_length
bool spirv_cross::SPIRConstant::is_used_as_array_length = false |
◆ is_used_as_lut
bool spirv_cross::SPIRConstant::is_used_as_lut = false |
◆ specialization
bool spirv_cross::SPIRConstant::specialization = false |
◆ subconstants
std::vector<uint32_t> spirv_cross::SPIRConstant::subconstants |
The documentation for this struct was generated from the following file: