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

11 lines
188 B
Plaintext
Raw Normal View History

2012-04-04 07:30:07 +04:00
varying vec4 xlv_TEXCOORD0;
void main ()
{
vec4 res;
res.x = dFdx (xlv_TEXCOORD0.x);
res.y = dFdx (xlv_TEXCOORD0.y);
res.zw = fwidth (xlv_TEXCOORD0.xy);
gl_FragData[0] = res;
}