mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-12-02 20:36:50 -05:00
13 lines
286 B
Text
13 lines
286 B
Text
void main ()
|
|
{
|
|
vec4 tmpvar_1;
|
|
vec4 tmpvar_2;
|
|
tmpvar_2 = (gl_ModelViewProjectionMatrix * gl_Vertex);
|
|
tmpvar_1.xy = ((tmpvar_2.xy + tmpvar_2.w) * 0.5);
|
|
tmpvar_1.zw = tmpvar_2.zw;
|
|
gl_Position = tmpvar_2;
|
|
gl_TexCoord[0] = tmpvar_1;
|
|
}
|
|
|
|
|
|
// inputs: 1, stats: 3 alu 0 tex 0 flow
|