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

#include <spirv_cross.hpp>

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

Public Member Functions

 BufferAccessHandler (const Compiler &compiler_, std::vector< BufferRange > &ranges_, uint32_t id_)
 
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::vector< BufferRange > & ranges
 
uint32_t id
 
std::unordered_set< uint32_tseen
 

Constructor & Destructor Documentation

◆ BufferAccessHandler()

spirv_cross::Compiler::BufferAccessHandler::BufferAccessHandler ( const Compiler compiler_,
std::vector< BufferRange > &  ranges_,
uint32_t  id_ 
)
inline

Member Function Documentation

◆ handle()

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

Member Data Documentation

◆ compiler

const Compiler& spirv_cross::Compiler::BufferAccessHandler::compiler

◆ id

uint32_t spirv_cross::Compiler::BufferAccessHandler::id

◆ ranges

std::vector<BufferRange>& spirv_cross::Compiler::BufferAccessHandler::ranges

◆ seen

std::unordered_set<uint32_t> spirv_cross::Compiler::BufferAccessHandler::seen

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