Mesa (master): glsl: remove duplicate frag input entry

Brian Paul brianp at kemper.freedesktop.org
Thu Aug 13 02:38:05 UTC 2009


Module: Mesa
Branch: master
Commit: 4ce73ad92c723b4e65fbdc1d144b2017f9bcd438
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4ce73ad92c723b4e65fbdc1d144b2017f9bcd438

Author: Brian Paul <brianp at vmware.com>
Date:   Wed Aug 12 20:37:34 2009 -0600

glsl: remove duplicate frag input entry

---

 src/mesa/shader/slang/slang_builtin.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/mesa/shader/slang/slang_builtin.c b/src/mesa/shader/slang/slang_builtin.c
index 9ed8e3e..ad2e306 100644
--- a/src/mesa/shader/slang/slang_builtin.c
+++ b/src/mesa/shader/slang/slang_builtin.c
@@ -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 }




More information about the mesa-commit mailing list