bgfx/3rdparty/glsl-optimizer/tests/fragment/derivatives-out.txt
Branimir Karadzic dee3fe5266 Initial commit.
2012-04-03 20:30:07 -07:00

11 lines
188 B
Plaintext

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;
}