Struct Compiler::CombinedImageSamplerHandler

Nested Relationships

This struct is a nested type of Class Compiler.

Inheritance Relationships

Base Type

Struct Documentation

struct CombinedImageSamplerHandler : public SPIRV_CROSS_NAMESPACE::Compiler::OpcodeHandler

Public Functions

inline CombinedImageSamplerHandler(Compiler &compiler_)
virtual bool handle(spv::Op opcode, const uint32_t *args, uint32_t length) override
virtual bool begin_function_scope(const uint32_t *args, uint32_t length) override
virtual bool end_function_scope(const uint32_t *args, uint32_t length) override
uint32_t remap_parameter(uint32_t id)
void push_remap_parameters(const SPIRFunction &func, const uint32_t *args, uint32_t length)
void pop_remap_parameters()
void register_combined_image_sampler(SPIRFunction &caller, VariableID combined_id, VariableID texture_id, VariableID sampler_id, bool depth)

Public Members

Compiler &compiler
std::stack<std::unordered_map<uint32_t, uint32_t>> parameter_remapping
std::stack<SPIRFunction*> functions