RetroArch/gfx/drivers/gl_shaders/modern_alpha_blend.cg.vert.h
2021-01-06 19:14:30 +01:00

18 lines
437 B
C

#include "shaders_common.h"
static const char *stock_vertex_modern_blend = CG(
void main(
float2 TexCoord,
float2 VertexCoord,
float4 Color,
uniform float4x4 MVPMatrix,
float4 out oPosition : POSITION,
float2 out oTexCoord : TEXCOORD0,
float4 out oColor : COLOR)
{
oPosition = mul(float4(VertexCoord, 0.0, 1.0), MVPMatrix);
oTexCoord = TexCoord;
oColor = Color;
}
);