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

#include <spirv_cross.hpp>

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

Public Member Functions

 InterfaceVariableAccessHandler (const Compiler &compiler_, std::unordered_set< uint32_t > &variables_)
 
bool handle (spv::Op opcode, const uint32_t *args, uint32_t length) override
 
- 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 &)
 
virtual bool begin_function_scope (const uint32_t *, uint32_t)
 
virtual bool end_function_scope (const uint32_t *, uint32_t)
 

Public Attributes

const Compilercompiler
 
std::unordered_set< uint32_t > & variables
 

Constructor & Destructor Documentation

◆ InterfaceVariableAccessHandler()

spirv_cross::Compiler::InterfaceVariableAccessHandler::InterfaceVariableAccessHandler ( const Compiler compiler_,
std::unordered_set< uint32_t > &  variables_ 
)
inline

Member Function Documentation

◆ handle()

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

Implements spirv_cross::Compiler::OpcodeHandler.

Here is the call graph for this function:

Member Data Documentation

◆ compiler

const Compiler& spirv_cross::Compiler::InterfaceVariableAccessHandler::compiler

◆ variables

std::unordered_set<uint32_t>& spirv_cross::Compiler::InterfaceVariableAccessHandler::variables

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