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

#include <spirv_cross.hpp>

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

Public Member Functions

 CombinedImageSamplerHandler (Compiler &compiler_)
 
bool handle (spv::Op opcode, const uint32_t *args, uint32_t length) override
 
bool begin_function_scope (const uint32_t *args, uint32_t length) override
 
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, uint32_t texture_id, uint32_t sampler_id, bool depth)
 
- Public Member Functions inherited from spirv_cross::Compiler::OpcodeHandler
virtual ~OpcodeHandler ()=default
 
virtual bool follow_function_call (const SPIRFunction &)
 
virtual void set_current_block (const SPIRBlock &)
 

Public Attributes

Compilercompiler
 
std::stack< std::unordered_map< uint32_t, uint32_t > > parameter_remapping
 
std::stack< SPIRFunction * > functions
 

Constructor & Destructor Documentation

◆ CombinedImageSamplerHandler()

spirv_cross::Compiler::CombinedImageSamplerHandler::CombinedImageSamplerHandler ( Compiler compiler_)
inline

Member Function Documentation

◆ begin_function_scope()

bool Compiler::CombinedImageSamplerHandler::begin_function_scope ( const uint32_t args,
uint32_t  length 
)
overridevirtual

◆ end_function_scope()

bool Compiler::CombinedImageSamplerHandler::end_function_scope ( const uint32_t args,
uint32_t  length 
)
overridevirtual

◆ handle()

bool Compiler::CombinedImageSamplerHandler::handle ( spv::Op  opcode,
const uint32_t args,
uint32_t  length 
)
overridevirtual

◆ pop_remap_parameters()

void Compiler::CombinedImageSamplerHandler::pop_remap_parameters ( )

◆ push_remap_parameters()

void Compiler::CombinedImageSamplerHandler::push_remap_parameters ( const SPIRFunction func,
const uint32_t args,
uint32_t  length 
)

◆ register_combined_image_sampler()

void Compiler::CombinedImageSamplerHandler::register_combined_image_sampler ( SPIRFunction caller,
uint32_t  texture_id,
uint32_t  sampler_id,
bool  depth 
)
Here is the call graph for this function:

◆ remap_parameter()

uint32_t Compiler::CombinedImageSamplerHandler::remap_parameter ( uint32_t  id)

Member Data Documentation

◆ compiler

Compiler& spirv_cross::Compiler::CombinedImageSamplerHandler::compiler

◆ functions

std::stack<SPIRFunction *> spirv_cross::Compiler::CombinedImageSamplerHandler::functions

◆ parameter_remapping

std::stack<std::unordered_map<uint32_t, uint32_t> > spirv_cross::Compiler::CombinedImageSamplerHandler::parameter_remapping

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