bgfx/3rdparty/glsl-optimizer/tests/vertex/z-particle-out.txt
2014-02-10 23:06:13 -08:00

13 lines
322 B
Text

uniform vec4 _MainTex_ST;
uniform mat4 glstate_matrix_mvp;
varying vec4 xlv_COLOR;
varying vec2 xlv_TEXCOORD0;
void main ()
{
gl_Position = (glstate_matrix_mvp * gl_Vertex);
xlv_COLOR = gl_Color;
xlv_TEXCOORD0 = ((gl_MultiTexCoord0.xy * _MainTex_ST.xy) + _MainTex_ST.zw);
}
// inputs: 3, stats: 3 alu 0 tex 0 flow