2012-04-03 23:30:07 -04:00
|
|
|
struct v2f {
|
|
|
|
highp vec4 pos;
|
|
|
|
highp vec2 uv;
|
|
|
|
highp vec4 color;
|
|
|
|
};
|
|
|
|
varying highp vec4 xlv_COLOR;
|
|
|
|
varying highp vec2 xlv_TEXCOORD0;
|
|
|
|
mediump vec4 xlat_main (
|
2012-10-07 23:41:18 -04:00
|
|
|
in v2f i_1
|
2012-04-03 23:30:07 -04:00
|
|
|
)
|
|
|
|
{
|
2012-10-07 23:41:18 -04:00
|
|
|
mediump vec4 c_2;
|
|
|
|
highp vec4 tmpvar_3;
|
|
|
|
tmpvar_3 = i_1.color;
|
|
|
|
c_2 = tmpvar_3;
|
|
|
|
highp vec2 tmpvar_4;
|
|
|
|
tmpvar_4 = (c_2.xy + i_1.uv);
|
|
|
|
c_2.xy = tmpvar_4.xy.xy;
|
|
|
|
return c_2;
|
2012-04-03 23:30:07 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
void main ()
|
|
|
|
{
|
2012-10-07 23:41:18 -04:00
|
|
|
v2f xlt_i_5;
|
|
|
|
mediump vec4 xl_retval_6;
|
|
|
|
vec4 tmpvar_7;
|
|
|
|
tmpvar_7 = vec4(0.0, 0.0, 0.0, 0.0);
|
|
|
|
xlt_i_5.pos = tmpvar_7;
|
|
|
|
highp vec2 tmpvar_8;
|
|
|
|
tmpvar_8 = xlv_TEXCOORD0.xy;
|
|
|
|
highp vec2 tmpvar_9;
|
2012-04-03 23:30:07 -04:00
|
|
|
tmpvar_9 = tmpvar_8;
|
2012-10-07 23:41:18 -04:00
|
|
|
xlt_i_5.uv = tmpvar_9;
|
|
|
|
highp vec4 tmpvar_10;
|
|
|
|
tmpvar_10 = xlv_COLOR.xyzw;
|
|
|
|
highp vec4 tmpvar_11;
|
|
|
|
tmpvar_11 = tmpvar_10;
|
|
|
|
xlt_i_5.color = tmpvar_11;
|
|
|
|
mediump vec4 tmpvar_12;
|
|
|
|
tmpvar_12 = xlat_main (xlt_i_5);
|
|
|
|
mediump vec4 tmpvar_13;
|
|
|
|
tmpvar_13 = tmpvar_12;
|
|
|
|
xl_retval_6 = tmpvar_13;
|
|
|
|
mediump vec4 tmpvar_14;
|
|
|
|
tmpvar_14 = xl_retval_6.xyzw;
|
|
|
|
mediump vec4 tmpvar_15;
|
|
|
|
tmpvar_15 = tmpvar_14;
|
|
|
|
gl_FragData[0] = tmpvar_15;
|
2012-04-03 23:30:07 -04:00
|
|
|
}
|
|
|
|
|