RetroArch
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
spirv_cross::SPIRFunction Struct Reference

#include <spirv_common.hpp>

Inheritance diagram for spirv_cross::SPIRFunction:
[legend]
Collaboration diagram for spirv_cross::SPIRFunction:
[legend]

Classes

struct  CombinedImageSamplerParameter
 
struct  Parameter
 

Public Types

enum  { type = TypeFunction }
 

Public Member Functions

 SPIRFunction (uint32_t return_type_, uint32_t function_type_)
 
void add_local_variable (uint32_t id)
 
void add_parameter (uint32_t parameter_type, uint32_t id, bool alias_global_variable=false)
 
- Public Member Functions inherited from spirv_cross::IVariant
virtual ~IVariant ()=default
 

Public Attributes

uint32_t return_type
 
uint32_t function_type
 
std::vector< Parameterarguments
 
std::vector< Parametershadow_arguments
 
std::vector< uint32_tlocal_variables
 
uint32_t entry_block = 0
 
std::vector< uint32_tblocks
 
std::vector< CombinedImageSamplerParametercombined_parameters
 
std::vector< std::stringfixup_statements_out
 
std::vector< std::stringfixup_statements_in
 
bool active = false
 
bool flush_undeclared = true
 
bool do_combined_parameters = true
 
- Public Attributes inherited from spirv_cross::IVariant
uint32_t self = 0
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
type 

Constructor & Destructor Documentation

◆ SPIRFunction()

spirv_cross::SPIRFunction::SPIRFunction ( uint32_t  return_type_,
uint32_t  function_type_ 
)
inline

Member Function Documentation

◆ add_local_variable()

void spirv_cross::SPIRFunction::add_local_variable ( uint32_t  id)
inline
Here is the caller graph for this function:

◆ add_parameter()

void spirv_cross::SPIRFunction::add_parameter ( uint32_t  parameter_type,
uint32_t  id,
bool  alias_global_variable = false 
)
inline
Here is the caller graph for this function:

Member Data Documentation

◆ active

bool spirv_cross::SPIRFunction::active = false

◆ arguments

std::vector<Parameter> spirv_cross::SPIRFunction::arguments

◆ blocks

std::vector<uint32_t> spirv_cross::SPIRFunction::blocks

◆ combined_parameters

std::vector<CombinedImageSamplerParameter> spirv_cross::SPIRFunction::combined_parameters

◆ do_combined_parameters

bool spirv_cross::SPIRFunction::do_combined_parameters = true

◆ entry_block

uint32_t spirv_cross::SPIRFunction::entry_block = 0

◆ fixup_statements_in

std::vector<std::string> spirv_cross::SPIRFunction::fixup_statements_in

◆ fixup_statements_out

std::vector<std::string> spirv_cross::SPIRFunction::fixup_statements_out

◆ flush_undeclared

bool spirv_cross::SPIRFunction::flush_undeclared = true

◆ function_type

uint32_t spirv_cross::SPIRFunction::function_type

◆ local_variables

std::vector<uint32_t> spirv_cross::SPIRFunction::local_variables

◆ return_type

uint32_t spirv_cross::SPIRFunction::return_type

◆ shadow_arguments

std::vector<Parameter> spirv_cross::SPIRFunction::shadow_arguments

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