RetroArch
pipeline_nuklear.glsl.vert.h
Go to the documentation of this file.
1 #include "shaders_common.h"
2 
3 static const char *nuklear_vertex_shader = GLSL_300(
4  uniform mat4 ProjMtx;
5  in vec2 Position;
6  in vec2 TexCoord;
7  in vec4 Color;
8  out vec2 Frag_UV;
9  out vec4 Frag_Color;
10 
11  void main()
12  {
13  Frag_UV = TexCoord;
14  Frag_Color = Color;
15  gl_Position = ProjMtx * vec4(Position.xy, 0, 1);
16  }
17 );
#define GLSL_300(src)
Definition: shaders_common.h:11
struct passwd out
Definition: missing_libc_functions.c:51
GLuint in
Definition: glext.h:10523
int main(int argc, char *argv[])
Definition: send-presence.c:197
static const char * nuklear_vertex_shader
Definition: pipeline_nuklear.glsl.vert.h:3
#define gl_Position
Definition: internal_interface.hpp:385