struct AnalyzeVariableScopeAccessHandler

Defined at line 1004 of file ../../third_party/spirv-cross/src/spirv_cross.hpp

Public Members

Compiler & compiler
SPIRFunction & entry
unordered_map accessed_variables_to_block
unordered_map accessed_temporaries_to_block
unordered_map result_id_to_type
unordered_map complete_write_variables_to_block
unordered_map partial_write_variables_to_block
unordered_set access_chain_expressions
unordered_map rvalue_forward_children
const SPIRBlock * current_block

Public Methods

void AnalyzeVariableScopeAccessHandler (Compiler & compiler_, SPIRFunction & entry_)
bool follow_function_call (const SPIRFunction & )
void set_current_block (const SPIRBlock & block)
void notify_variable_access (uint32_t id, uint32_t block)
bool id_is_phi_variable (uint32_t id)
bool id_is_potential_temporary (uint32_t id)
bool handle (spv::Op op, const uint32_t * args, uint32_t length)
bool handle_terminator (const SPIRBlock & block)