bgfx/3rdparty/glsl-optimizer/tests/fragment/derivatives-out.txt
2014-02-10 23:06:13 -08:00

13 lines
252 B
Text

varying vec4 xlv_TEXCOORD0;
void main ()
{
vec4 res_1;
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)));
gl_FragData[0] = res_1;
}
// inputs: 1, stats: 5 alu 0 tex 0 flow