mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-12-11 00:31:28 -05:00
36 lines
757 B
Text
36 lines
757 B
Text
varying highp vec4 xlv_COLOR;
|
|
varying highp vec2 xlv_TEXCOORD0;
|
|
mediump vec4 xlat_main (
|
|
in highp vec2 uv_1,
|
|
in highp vec4 color_2
|
|
)
|
|
{
|
|
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;
|
|
}
|
|
|
|
void main ()
|
|
{
|
|
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;
|
|
}
|
|
|