RetroArch
Classes | Namespaces | Macros | Functions
internal_interface.hpp File Reference
#include <glm/glm.hpp>
#include "barrier.hpp"
#include "external_interface.h"
#include "image.hpp"
#include "sampler.hpp"
#include "thread_group.hpp"
#include <assert.h>
#include <stdint.h>
Include dependency graph for internal_interface.hpp:

Go to the source code of this file.

Classes

struct  internal::Interface< T >
 
struct  internal::Interface< T[U]>
 
struct  internal::PointerInterface< T >
 
struct  internal::DereferenceAdaptor< T >
 
struct  internal::PointerInterface< T[U]>
 
struct  internal::Resource< T >
 
struct  internal::UniformConstant< T >
 
struct  internal::StageInput< T >
 
struct  internal::StageOutput< T >
 
struct  internal::PushConstant< T >
 
struct  spirv_cross_shader
 
struct  spirv_cross_shader::PPSize
 
struct  spirv_cross_shader::PPSizeResource
 
struct  spirv_cross::BaseShader< T >
 
struct  spirv_cross::FragmentResources
 
struct  spirv_cross::FragmentShader< T, Res >
 
struct  spirv_cross::VertexResources
 
struct  spirv_cross::VertexShader< T, Res >
 
struct  spirv_cross::TessEvaluationResources
 
struct  spirv_cross::TessEvaluationShader< T, Res >
 
struct  spirv_cross::TessControlResources
 
struct  spirv_cross::TessControlShader< T, Res >
 
struct  spirv_cross::GeometryResources
 
struct  spirv_cross::GeometryShader< T, Res >
 
struct  spirv_cross::ComputeResources
 
struct  spirv_cross::ComputePrivateResources
 
struct  spirv_cross::ComputeShader< T, Res, WorkGroupX, WorkGroupY, WorkGroupZ >
 

Namespaces

 internal
 
 spirv_cross
 

Macros

#define GLM_FORCE_SWIZZLE
 
#define GLM_FORCE_RADIANS
 
#define gl_FragCoord   __res->gl_FragCoord.get()
 
#define gl_Position   __res->gl_Position.get()
 
#define gl_WorkGroupID   __res->gl_WorkGroupID__.get()
 
#define gl_NumWorkGroups   __res->gl_NumWorkGroups__.get()
 
#define barrier()   __res->barrier__.wait()
 
#define gl_LocalInvocationIndex   __priv_res.gl_LocalInvocationIndex__
 
#define gl_LocalInvocationID   __priv_res.gl_LocalInvocationID__
 
#define gl_GlobalInvocationID   __priv_res.gl_GlobalInvocationID__
 

Functions

void spirv_cross::memoryBarrierShared ()
 
void spirv_cross::memoryBarrier ()
 
template<typename T >
T spirv_cross::atomicAdd (T &v, T a)
 
void spirv_cross_set_stage_input (spirv_cross_shader_t *shader, unsigned location, void *data, size_t size)
 
void spirv_cross_set_stage_output (spirv_cross_shader_t *shader, unsigned location, void *data, size_t size)
 
void spirv_cross_set_uniform_constant (spirv_cross_shader_t *shader, unsigned location, void *data, size_t size)
 
void spirv_cross_set_resource (spirv_cross_shader_t *shader, unsigned set, unsigned binding, void **data, size_t size)
 
void spirv_cross_set_push_constant (spirv_cross_shader_t *shader, void *data, size_t size)
 
void spirv_cross_set_builtin (spirv_cross_shader_t *shader, spirv_cross_builtin builtin, void *data, size_t size)
 

Macro Definition Documentation

◆ barrier

#define barrier ( )    __res->barrier__.wait()

◆ gl_FragCoord

#define gl_FragCoord   __res->gl_FragCoord.get()

◆ gl_GlobalInvocationID

#define gl_GlobalInvocationID   __priv_res.gl_GlobalInvocationID__

◆ gl_LocalInvocationID

#define gl_LocalInvocationID   __priv_res.gl_LocalInvocationID__

◆ gl_LocalInvocationIndex

#define gl_LocalInvocationIndex   __priv_res.gl_LocalInvocationIndex__

◆ gl_NumWorkGroups

#define gl_NumWorkGroups   __res->gl_NumWorkGroups__.get()

◆ gl_Position

#define gl_Position   __res->gl_Position.get()

◆ gl_WorkGroupID

#define gl_WorkGroupID   __res->gl_WorkGroupID__.get()

◆ GLM_FORCE_RADIANS

#define GLM_FORCE_RADIANS

◆ GLM_FORCE_SWIZZLE

#define GLM_FORCE_SWIZZLE

Function Documentation

◆ spirv_cross_set_builtin()

void spirv_cross_set_builtin ( spirv_cross_shader_t shader,
spirv_cross_builtin  builtin,
void data,
size_t  size 
)
Here is the caller graph for this function:

◆ spirv_cross_set_push_constant()

void spirv_cross_set_push_constant ( spirv_cross_shader_t shader,
void data,
size_t  size 
)

◆ spirv_cross_set_resource()

void spirv_cross_set_resource ( spirv_cross_shader_t shader,
unsigned  set,
unsigned  binding,
void **  data,
size_t  size 
)
Here is the caller graph for this function:

◆ spirv_cross_set_stage_input()

void spirv_cross_set_stage_input ( spirv_cross_shader_t shader,
unsigned  location,
void data,
size_t  size 
)

◆ spirv_cross_set_stage_output()

void spirv_cross_set_stage_output ( spirv_cross_shader_t shader,
unsigned  location,
void data,
size_t  size 
)

◆ spirv_cross_set_uniform_constant()

void spirv_cross_set_uniform_constant ( spirv_cross_shader_t shader,
unsigned  location,
void data,
size_t  size 
)