Struct Compiler::StaticExpressionAccessHandler
Defined in File spirv_cross.hpp
Nested Relationships
This struct is a nested type of Class Compiler.
Inheritance Relationships
Base Type
public SPIRV_CROSS_NAMESPACE::Compiler::OpcodeHandler
(Struct Compiler::OpcodeHandler)
Struct Documentation
-
struct StaticExpressionAccessHandler : public SPIRV_CROSS_NAMESPACE::Compiler::OpcodeHandler
Public Functions
-
StaticExpressionAccessHandler(Compiler &compiler_, uint32_t variable_id_)
-
virtual bool follow_function_call(const SPIRFunction&) override
-
virtual bool handle(spv::Op op, const uint32_t *args, uint32_t length) override
Public Members
-
Compiler &compiler
-
uint32_t variable_id
-
uint32_t static_expression = 0
-
uint32_t write_count = 0
-
StaticExpressionAccessHandler(Compiler &compiler_, uint32_t variable_id_)