bgfx/3rdparty/glsl-optimizer/tests/fragment/opt-grafting-precision-outES.txt

17 lines
332 B
Text
Raw Normal View History

2012-04-03 23:30:07 -04:00
varying lowp vec3 normal;
2014-02-11 02:06:13 -05:00
varying lowp vec3 halfDir;
uniform mediump float specPower;
2012-04-03 23:30:07 -04:00
void main ()
{
2012-10-07 23:41:18 -04:00
lowp vec4 c_1;
lowp float tmpvar_2;
tmpvar_2 = dot (normal, halfDir);
mediump vec4 tmpvar_3;
tmpvar_3 = vec4(pow (tmpvar_2, specPower));
c_1 = tmpvar_3;
gl_FragColor = c_1;
2012-04-03 23:30:07 -04:00
}
2014-02-11 02:06:13 -05:00
// inputs: 2, stats: 2 alu 0 tex 0 flow