Struct Compiler::PhysicalStorageBufferPointerHandler

Nested Relationships

This struct is a nested type of Class Compiler.

Inheritance Relationships

Base Type

Struct Documentation

struct PhysicalStorageBufferPointerHandler : public SPIRV_CROSS_NAMESPACE::Compiler::OpcodeHandler

Public Functions

explicit PhysicalStorageBufferPointerHandler(Compiler &compiler_)
virtual bool handle(spv::Op op, const uint32_t *args, uint32_t length) override
void mark_aligned_access(uint32_t id, const uint32_t *args, uint32_t length)
PhysicalBlockMeta *find_block_meta(uint32_t id) const
bool type_is_bda_block_entry(uint32_t type_id) const
void setup_meta_chain(uint32_t type_id, uint32_t var_id)
uint32_t get_minimum_scalar_alignment(const SPIRType &type) const
void analyze_non_block_types_from_block(const SPIRType &type)
uint32_t get_base_non_block_type_id(uint32_t type_id) const

Public Members

Compiler &compiler
std::unordered_set<uint32_t> non_block_types
std::unordered_map<uint32_t, PhysicalBlockMeta> physical_block_type_meta
std::unordered_map<uint32_t, PhysicalBlockMeta*> access_chain_to_physical_block