RetroArch
Functions | Variables
ribbon.c File Reference
#include <stddef.h>
#include <malloc.h>
#include <string.h>
#include <wiiu/gx2/common.h>
#include "gx2_shader_inl.h"
#include "menu_shaders.h"
Include dependency graph for ribbon.c:

Functions

 __attribute__ ((aligned(GX2_SHADER_ALIGNMENT)))
 

Variables

 vs_program
 
 ps_program
 
static GX2AttribVar attributes []
 
static GX2AttribStream attribute_stream []
 
static GX2SamplerVar samplers []
 
static GX2UniformBlock uniform_blocks []
 
static GX2UniformVar uniform_vars []
 
GX2Shader ribbon_shader
 

Function Documentation

◆ __attribute__()

__attribute__ ( (aligned(GX2_SHADER_ALIGNMENT))  )

Variable Documentation

◆ attribute_stream

GX2AttribStream attribute_stream[]
static
Initial value:
=
{
}
#define GX2_COMP_SEL(c0, c1, c2, c3)
Definition: gx2_common.h:26
Definition: enum.h:43
#define _x
Definition: gx2_shader_inl.h:113
#define _0
Definition: gx2_common.h:24
Definition: enum.h:151
Definition: enum.h:50
#define _1
Definition: gx2_common.h:25
#define _y
Definition: gx2_shader_inl.h:114

◆ attributes

GX2AttribVar attributes[]
static
Initial value:
=
{
{ "VertexCoord", GX2_SHADER_VAR_TYPE_FLOAT2, 0, 0},
}
Definition: enum.h:284

◆ ps_program

ps_program

◆ ribbon_shader

GX2Shader ribbon_shader

◆ samplers

Initial value:
=
{
}
Definition: enum.h:261

◆ uniform_blocks

GX2UniformBlock uniform_blocks[]
static
Initial value:
= {
{"UBO", 1, 16}
}

◆ uniform_vars

GX2UniformVar uniform_vars[]
static
Initial value:
= {
{"constants.time", GX2_SHADER_VAR_TYPE_FLOAT, 1, 0, 0},
}
Definition: enum.h:283

◆ vs_program

vs_program