bgfx/3rdparty/glsl-optimizer/tests/fragment/prec-tempssimple-outES.txt

15 lines
455 B
Text
Raw Normal View History

2012-04-03 23:30:07 -04:00
varying mediump vec2 var_mediump;
varying lowp vec2 var_lowp;
uniform sampler2D tex_highp;
uniform sampler2D tex_lowp;
uniform sampler2D tex_def;
void main ()
{
lowp vec4 c3;
highp vec4 tmpvar_1;
tmpvar_1 = (texture2D (tex_highp, var_mediump) * 2.0);
c3 = tmpvar_1;
gl_FragColor = (((((texture2D (tex_def, var_lowp) * 2.0) + (texture2D (tex_def, var_mediump) * 2.0)) + c3) + (texture2D (tex_lowp, var_mediump) * 2.0)) + abs (var_lowp.xxxx));
}