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

#include <spirv_cross.hpp>

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

Public Member Functions

 CombinedImageSamplerUsageHandler (Compiler &compiler_, const std::unordered_set< uint32_t > &dref_combined_samplers_)
 
bool begin_function_scope (const uint32_t *args, uint32_t length) override
 
bool handle (spv::Op opcode, const uint32_t *args, uint32_t length) override
 
void add_hierarchy_to_comparison_ids (uint32_t ids)
 
- 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 end_function_scope (const uint32_t *, uint32_t)
 

Public Attributes

Compilercompiler
 
const std::unordered_set< uint32_t > & dref_combined_samplers
 
std::unordered_map< uint32_t, std::unordered_set< uint32_t > > dependency_hierarchy
 
std::unordered_set< uint32_tcomparison_ids
 
bool need_subpass_input = false
 

Constructor & Destructor Documentation

◆ CombinedImageSamplerUsageHandler()

spirv_cross::Compiler::CombinedImageSamplerUsageHandler::CombinedImageSamplerUsageHandler ( Compiler compiler_,
const std::unordered_set< uint32_t > &  dref_combined_samplers_ 
)
inline

Member Function Documentation

◆ add_hierarchy_to_comparison_ids()

void Compiler::CombinedImageSamplerUsageHandler::add_hierarchy_to_comparison_ids ( uint32_t  ids)

◆ begin_function_scope()

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

◆ handle()

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

Member Data Documentation

◆ comparison_ids

std::unordered_set<uint32_t> spirv_cross::Compiler::CombinedImageSamplerUsageHandler::comparison_ids

◆ compiler

Compiler& spirv_cross::Compiler::CombinedImageSamplerUsageHandler::compiler

◆ dependency_hierarchy

std::unordered_map<uint32_t, std::unordered_set<uint32_t> > spirv_cross::Compiler::CombinedImageSamplerUsageHandler::dependency_hierarchy

◆ dref_combined_samplers

const std::unordered_set<uint32_t>& spirv_cross::Compiler::CombinedImageSamplerUsageHandler::dref_combined_samplers

◆ need_subpass_input

bool spirv_cross::Compiler::CombinedImageSamplerUsageHandler::need_subpass_input = false

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