41 lines
761 B
Plaintext
41 lines
761 B
Plaintext
|
#version 300 es
|
||
|
precision mediump float;
|
||
|
uniform sampler2D tex;
|
||
|
in highp vec4 xlv_TEXCOORD0;
|
||
|
out mediump vec4 _fragColor;
|
||
|
vec4 xll_tex2Dlod (
|
||
|
in sampler2D s_1,
|
||
|
in vec4 coord_2
|
||
|
)
|
||
|
{
|
||
|
lowp vec4 tmpvar_3;
|
||
|
tmpvar_3 = textureLod (s_1, coord_2.xy, coord_2.w);
|
||
|
return tmpvar_3;
|
||
|
}
|
||
|
|
||
|
mediump vec4 xlat_main (
|
||
|
in highp vec4 uv_4
|
||
|
)
|
||
|
{
|
||
|
highp vec4 tmpvar_5;
|
||
|
tmpvar_5.zw = vec2(0.0, 0.0);
|
||
|
tmpvar_5.xy = uv_4.xy.xy;
|
||
|
vec4 tmpvar_6;
|
||
|
tmpvar_6 = xll_tex2Dlod (tex, tmpvar_5);
|
||
|
return tmpvar_6;
|
||
|
}
|
||
|
|
||
|
void main ()
|
||
|
{
|
||
|
mediump vec4 xl_retval_7;
|
||
|
mediump vec4 tmpvar_8;
|
||
|
tmpvar_8 = xlat_main (xlv_TEXCOORD0);
|
||
|
mediump vec4 tmpvar_9;
|
||
|
tmpvar_9 = tmpvar_8;
|
||
|
xl_retval_7 = tmpvar_9;
|
||
|
mediump vec4 tmpvar_10;
|
||
|
tmpvar_10 = xl_retval_7;
|
||
|
_fragColor = tmpvar_10;
|
||
|
}
|
||
|
|