summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-01-04 15:06:50 -0700
committerBrian <[email protected]>2007-01-04 15:06:50 -0700
commitde03fe4a3f21aac730ad8b7b24bcaa897d4c182b (patch)
treec2140cf51c256d40561150d6c134cab754c78af0 /src/mesa
parent7b4d10b4a353f6fabd2dfc8030ffcd2dcff5b1c7 (diff)
added texture attribs in slang_find_input()
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/shader/slang/slang_emit.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_emit.c b/src/mesa/shader/slang/slang_emit.c
index 462cc71938f..ac92bdcece7 100644
--- a/src/mesa/shader/slang/slang_emit.c
+++ b/src/mesa/shader/slang/slang_emit.c
@@ -434,9 +434,13 @@ slang_find_input(GLenum target, const char *name, GLint index)
{ "gl_Normal", VERT_ATTRIB_NORMAL },
{ "gl_Color", VERT_ATTRIB_COLOR0 },
{ "gl_SecondaryColor", VERT_ATTRIB_COLOR1 },
+ { "gl_MultiTexCoord0", VERT_ATTRIB_TEX0 },
+ { "gl_MultiTexCoord1", VERT_ATTRIB_TEX1 },
+ { "gl_MultiTexCoord2", VERT_ATTRIB_TEX2 },
{ NULL, 0 }
};
static const struct input_info fragInputs[] = {
+ { "gl_TexCoord", FRAG_ATTRIB_TEX0 },
{ NULL, 0 }
};
const struct input_info *inputs;