bgfx/3rdparty/glsl-optimizer/tests/fragment/in-vals-ret-vals-irES.txt

37 lines
757 B
Text
Raw Normal View History

2012-04-03 23:30:07 -04:00
varying highp vec2 xlv_TEXCOORD0;
2014-02-11 02:06:13 -05:00
varying highp vec4 xlv_COLOR;
2012-04-03 23:30:07 -04:00
mediump vec4 xlat_main (
2012-10-07 23:41:18 -04:00
in highp vec2 uv_1,
in highp vec4 color_2
2012-04-03 23:30:07 -04:00
)
{
2012-10-07 23:41:18 -04:00
mediump vec4 c_3;
highp vec4 tmpvar_4;
tmpvar_4 = color_2;
c_3 = tmpvar_4;
highp vec2 tmpvar_5;
tmpvar_5 = (c_3.xy + uv_1);
c_3.xy = tmpvar_5.xy.xy;
return c_3;
2012-04-03 23:30:07 -04:00
}
void main ()
{
2012-10-07 23:41:18 -04:00
mediump vec4 xl_retval_6;
highp vec2 tmpvar_7;
tmpvar_7 = xlv_TEXCOORD0.xy;
highp vec4 tmpvar_8;
tmpvar_8 = xlv_COLOR.xyzw;
mediump vec4 tmpvar_9;
tmpvar_9 = xlat_main (tmpvar_7, tmpvar_8);
mediump vec4 tmpvar_10;
tmpvar_10 = tmpvar_9;
xl_retval_6 = tmpvar_10;
mediump vec4 tmpvar_11;
tmpvar_11 = xl_retval_6.xyzw;
mediump vec4 tmpvar_12;
tmpvar_12 = tmpvar_11;
gl_FragData[0] = tmpvar_12;
2012-04-03 23:30:07 -04:00
}