RetroArch
Public Member Functions | Public Attributes | List of all members
spirv_cross::Compiler::StaticExpressionAccessHandler Struct Reference

#include <spirv_cross.hpp>

Inheritance diagram for spirv_cross::Compiler::StaticExpressionAccessHandler:
[legend]
Collaboration diagram for spirv_cross::Compiler::StaticExpressionAccessHandler:
[legend]

Public Member Functions

 StaticExpressionAccessHandler (Compiler &compiler_, uint32_t variable_id_)
 
bool follow_function_call (const SPIRFunction &) override
 
bool handle (spv::Op op, const uint32_t *args, uint32_t length) override
 
- Public Member Functions inherited from spirv_cross::Compiler::OpcodeHandler
virtual ~OpcodeHandler ()=default
 
virtual void set_current_block (const SPIRBlock &)
 
virtual bool begin_function_scope (const uint32_t *, uint32_t)
 
virtual bool end_function_scope (const uint32_t *, uint32_t)
 

Public Attributes

Compilercompiler
 
uint32_t variable_id
 
uint32_t static_expression = 0
 
uint32_t write_count = 0
 

Constructor & Destructor Documentation

◆ StaticExpressionAccessHandler()

Compiler::StaticExpressionAccessHandler::StaticExpressionAccessHandler ( Compiler compiler_,
uint32_t  variable_id_ 
)

Member Function Documentation

◆ follow_function_call()

bool Compiler::StaticExpressionAccessHandler::follow_function_call ( const SPIRFunction )
overridevirtual

◆ handle()

bool Compiler::StaticExpressionAccessHandler::handle ( spv::Op  op,
const uint32_t args,
uint32_t  length 
)
overridevirtual

Member Data Documentation

◆ compiler

Compiler& spirv_cross::Compiler::StaticExpressionAccessHandler::compiler

◆ static_expression

uint32_t spirv_cross::Compiler::StaticExpressionAccessHandler::static_expression = 0

◆ variable_id

uint32_t spirv_cross::Compiler::StaticExpressionAccessHandler::variable_id

◆ write_count

uint32_t spirv_cross::Compiler::StaticExpressionAccessHandler::write_count = 0

The documentation for this struct was generated from the following files: