2012-04-03 23:30:07 -04:00
|
|
|
#extension GL_OES_standard_derivatives : enable
|
|
|
|
varying highp vec4 xlv_TEXCOORD0;
|
|
|
|
void main ()
|
|
|
|
{
|
|
|
|
mediump vec4 tmpvar_1;
|
2012-10-07 23:41:18 -04:00
|
|
|
lowp vec4 res_2;
|
2012-04-03 23:30:07 -04:00
|
|
|
highp float tmpvar_3;
|
2012-10-07 23:41:18 -04:00
|
|
|
tmpvar_3 = dFdx(xlv_TEXCOORD0.x);
|
|
|
|
res_2.x = tmpvar_3;
|
2012-04-03 23:30:07 -04:00
|
|
|
highp float tmpvar_4;
|
2012-10-07 23:41:18 -04:00
|
|
|
tmpvar_4 = dFdx(xlv_TEXCOORD0.y);
|
|
|
|
res_2.y = tmpvar_4;
|
|
|
|
highp float tmpvar_5;
|
|
|
|
tmpvar_5 = (abs(dFdx(xlv_TEXCOORD0.z)) + abs(dFdy(xlv_TEXCOORD0.z)));
|
|
|
|
res_2.z = tmpvar_5;
|
|
|
|
res_2.w = 1.0;
|
|
|
|
tmpvar_1 = res_2;
|
2012-04-03 23:30:07 -04:00
|
|
|
gl_FragData[0] = tmpvar_1;
|
|
|
|
}
|
|
|
|
|
2014-02-11 02:06:13 -05:00
|
|
|
|
|
|
|
// inputs: 1, stats: 8 alu 0 tex 0 flow
|