9 uniform float4x4 mvp_matrix;
21 out float4 oPosition : POSITION,
26 oPosition = mul(
IN.mvp_matrix,
IN.vertex_coord);
27 vert = vertex_data(
IN.tex_coord,
IN.color);
30 float4 main_fragment(
input IN, vertex_data vert, uniform
sampler2D s0 : TEXUNIT0) : COLOR
32 return vert.color * tex2D(s0, vert.tex);
static const char * stock_cg_gl_program
Definition: opaque.cg.h:3
sampler2DBase< glm::vec4 > sampler2D
Definition: sampler.hpp:94
struct passwd out
Definition: missing_libc_functions.c:51
GLenum GLenum GLenum input
Definition: glext.h:9938
GLenum GLuint texture
Definition: glext.h:6935
GLuint color
Definition: glext.h:6883
#define CG(src)
Definition: shaders_common.h:9
Definition: glslang_tab.cpp:197