RetroArch
Classes | Public Member Functions | Public Attributes | List of all members
spirv_cross_shader Struct Reference

#include <internal_interface.hpp>

Inheritance diagram for spirv_cross_shader:
[legend]
Collaboration diagram for spirv_cross_shader:
[legend]

Classes

struct  PPSize
 
struct  PPSizeResource
 

Public Member Functions

template<typename U >
void register_builtin (spirv_cross_builtin builtin, const U &value)
 
void set_builtin (spirv_cross_builtin builtin, void *data, size_t size)
 
template<typename U >
void register_resource (const internal::Resource< U > &value, unsigned set, unsigned binding)
 
template<typename U >
void register_stage_input (const internal::StageInput< U > &value, unsigned location)
 
template<typename U >
void register_stage_output (const internal::StageOutput< U > &value, unsigned location)
 
template<typename U >
void register_uniform_constant (const internal::UniformConstant< U > &value, unsigned location)
 
template<typename U >
void register_push_constant (const internal::PushConstant< U > &value)
 
void set_stage_input (unsigned location, void *data, size_t size)
 
void set_stage_output (unsigned location, void *data, size_t size)
 
void set_uniform_constant (unsigned location, void *data, size_t size)
 
void set_push_constant (void *data, size_t size)
 
void set_resource (unsigned set, unsigned binding, void **data, size_t size)
 

Public Attributes

PPSizeResource resources [SPIRV_CROSS_NUM_DESCRIPTOR_SETS][SPIRV_CROSS_NUM_DESCRIPTOR_BINDINGS]
 
PPSize stage_inputs [SPIRV_CROSS_NUM_STAGE_INPUTS]
 
PPSize stage_outputs [SPIRV_CROSS_NUM_STAGE_OUTPUTS]
 
PPSize uniform_constants [SPIRV_CROSS_NUM_UNIFORM_CONSTANTS]
 
PPSize push_constant
 
PPSize builtins [SPIRV_CROSS_NUM_BUILTINS]
 

Member Function Documentation

◆ register_builtin()

template<typename U >
void spirv_cross_shader::register_builtin ( spirv_cross_builtin  builtin,
const U &  value 
)
inline

◆ register_push_constant()

template<typename U >
void spirv_cross_shader::register_push_constant ( const internal::PushConstant< U > &  value)
inline

◆ register_resource()

template<typename U >
void spirv_cross_shader::register_resource ( const internal::Resource< U > &  value,
unsigned  set,
unsigned  binding 
)
inline

◆ register_stage_input()

template<typename U >
void spirv_cross_shader::register_stage_input ( const internal::StageInput< U > &  value,
unsigned  location 
)
inline

◆ register_stage_output()

template<typename U >
void spirv_cross_shader::register_stage_output ( const internal::StageOutput< U > &  value,
unsigned  location 
)
inline

◆ register_uniform_constant()

template<typename U >
void spirv_cross_shader::register_uniform_constant ( const internal::UniformConstant< U > &  value,
unsigned  location 
)
inline

◆ set_builtin()

void spirv_cross_shader::set_builtin ( spirv_cross_builtin  builtin,
void data,
size_t  size 
)
inline

◆ set_push_constant()

void spirv_cross_shader::set_push_constant ( void data,
size_t  size 
)
inline

◆ set_resource()

void spirv_cross_shader::set_resource ( unsigned  set,
unsigned  binding,
void **  data,
size_t  size 
)
inline

◆ set_stage_input()

void spirv_cross_shader::set_stage_input ( unsigned  location,
void data,
size_t  size 
)
inline

◆ set_stage_output()

void spirv_cross_shader::set_stage_output ( unsigned  location,
void data,
size_t  size 
)
inline

◆ set_uniform_constant()

void spirv_cross_shader::set_uniform_constant ( unsigned  location,
void data,
size_t  size 
)
inline

Member Data Documentation

◆ builtins

PPSize spirv_cross_shader::builtins[SPIRV_CROSS_NUM_BUILTINS]

◆ push_constant

PPSize spirv_cross_shader::push_constant

◆ resources

◆ stage_inputs

PPSize spirv_cross_shader::stage_inputs[SPIRV_CROSS_NUM_STAGE_INPUTS]

◆ stage_outputs

PPSize spirv_cross_shader::stage_outputs[SPIRV_CROSS_NUM_STAGE_OUTPUTS]

◆ uniform_constants

PPSize spirv_cross_shader::uniform_constants[SPIRV_CROSS_NUM_UNIFORM_CONSTANTS]

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