glsl: remove duplicate frag input entry
authorBrian Paul <brianp@vmware.com>
Thu, 13 Aug 2009 02:37:34 +0000 (20:37 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 13 Aug 2009 02:37:34 +0000 (20:37 -0600)
src/mesa/shader/slang/slang_builtin.c

index 9ed8e3ecb39454f2ac1d7d061b72db42a20a0676..ad2e306c19e57f05afb82944a47d20cd929c24e5 100644 (file)
@@ -752,7 +752,6 @@ static const struct input_info fragInputs[] = {
    { "gl_TexCoord", FRAG_ATTRIB_TEX0, GL_FLOAT_VEC4, SWIZZLE_NOOP },
    /* note: we're packing several quantities into the fogcoord vector */
    { "gl_FogFragCoord", FRAG_ATTRIB_FOGC, GL_FLOAT, SWIZZLE_XXXX },
-   { "gl_FogFragCoord", FRAG_ATTRIB_FOGC, GL_FLOAT, SWIZZLE_XXXX },
    { "gl_FrontFacing", FRAG_ATTRIB_FACE, GL_FLOAT, SWIZZLE_XXXX },
    { "gl_PointCoord", FRAG_ATTRIB_PNTC, GL_FLOAT_VEC2, SWIZZLE_XYZW },
    { NULL, 0, SWIZZLE_NOOP }