bgfx/3rdparty/glsl-optimizer/tests/vertex/zun-ShowDestAlpha-ir.txt
2012-10-07 20:41:18 -07:00

38 lines
640 B
Text

struct v2f {
vec4 vertex;
};
struct appdata_t {
vec4 vertex;
};
v2f vert (
in appdata_t v_1
)
{
v2f o_2;
vec4 tmpvar_3;
tmpvar_3 = (gl_ModelViewProjectionMatrix * v_1.vertex);
o_2.vertex = tmpvar_3;
return o_2;
}
void main ()
{
appdata_t xlt_v_4;
v2f xl_retval_5;
vec4 tmpvar_6;
tmpvar_6 = gl_Vertex.xyzw;
vec4 tmpvar_7;
tmpvar_7 = tmpvar_6;
xlt_v_4.vertex = tmpvar_7;
v2f tmpvar_8;
tmpvar_8 = vert (xlt_v_4);
v2f tmpvar_9;
tmpvar_9 = tmpvar_8;
xl_retval_5 = tmpvar_9;
vec4 tmpvar_10;
tmpvar_10 = xl_retval_5.vertex.xyzw;
vec4 tmpvar_11;
tmpvar_11 = tmpvar_10;
gl_Position = tmpvar_11;
}