RetroArch
Functions | Variables
frame.c File Reference
#include <stddef.h>
#include <malloc.h>
#include <string.h>
#include <wiiu/gx2/common.h>
#include "gx2_shader_inl.h"
#include "frame.h"
Include dependency graph for frame.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 frame_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
GLuint coord
Definition: glext.h:10418
Definition: enum.h:151
Definition: enum.h:50
#define _1
Definition: gx2_common.h:25
#define _y
Definition: gx2_shader_inl.h:114
Definition: frame.h:25

◆ attributes

GX2AttribVar attributes[]
static
Initial value:
=
{
{ "Position", GX2_SHADER_VAR_TYPE_FLOAT4, 0, 0},
{ "TexCoord", GX2_SHADER_VAR_TYPE_FLOAT2, 0, 1},
}
Definition: enum.h:284
Definition: enum.h:286

◆ frame_shader

GX2Shader frame_shader

◆ ps_program

ps_program
Initial value:
=
{
{
TEX(16, 1) VALID_PIX,
},
{
}
}
#define TEX(addr, cnt)
Definition: gx2_shader_inl.h:312
#define VALID_PIX
Definition: gx2_shader_inl.h:167
#define END_OF_PROGRAM
Definition: gx2_shader_inl.h:62

◆ samplers

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

◆ uniform_blocks

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

◆ uniform_vars

GX2UniformVar uniform_vars[]
static
Initial value:
= {
{"global.MVP", GX2_SHADER_VAR_TYPE_MATRIX4X4, 1, 0, 0},
}
Definition: enum.h:290

◆ vs_program

vs_program