bgfx/3rdparty/glsl-optimizer/tests/fragment/derivatives-out.txt

14 lines
252 B
Text
Raw Normal View History

2012-04-03 23:30:07 -04:00
varying vec4 xlv_TEXCOORD0;
void main ()
{
2012-10-07 23:41:18 -04:00
vec4 res_1;
2014-02-11 02:06:13 -05:00
vec2 cse_2;
cse_2 = dFdx(xlv_TEXCOORD0.xy);
res_1.xy = cse_2;
res_1.zw = (abs(cse_2) + abs(dFdy(xlv_TEXCOORD0.xy)));
2012-10-07 23:41:18 -04:00
gl_FragData[0] = res_1;
2012-04-03 23:30:07 -04:00
}
2014-02-11 02:06:13 -05:00
// inputs: 1, stats: 5 alu 0 tex 0 flow