RetroArch
modern_opaque.glsl.vert.h
Go to the documentation of this file.
1 #include "shaders_common.h"
2 
3 /* Need to duplicate these to work around broken stuff on Android.
4  * Must enforce alpha = 1.0 or 32-bit games can potentially go black. */
5 static const char *stock_vertex_modern = GLSL(
6  attribute vec2 TexCoord;
7  attribute vec2 VertexCoord;
8  attribute vec4 Color;
9  uniform mat4 MVPMatrix;
10  varying vec2 tex_coord;
11 
12  void main() {
13  gl_Position = MVPMatrix * vec4(VertexCoord, 0.0, 1.0);
14  tex_coord = TexCoord;
15  }
16 );
#define GLSL(src)
Definition: shaders_common.h:10
int main(int argc, char *argv[])
Definition: send-presence.c:197
#define gl_Position
Definition: internal_interface.hpp:385
static const char * stock_vertex_modern
Definition: modern_opaque.glsl.vert.h:5