bgfx/3rdparty/glsl-optimizer/tests/fragment/prec-tempssimple-outES.txt
Branimir Karadzic dee3fe5266 Initial commit.
2012-04-03 20:30:07 -07:00

14 lines
455 B
Text

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));
}