projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b4d10b
)
added texture attribs in slang_find_input()
author
Brian
<brian@yutani.localnet.net>
Thu, 4 Jan 2007 22:06:50 +0000
(15:06 -0700)
committer
Brian
<brian@yutani.localnet.net>
Thu, 4 Jan 2007 22:06:50 +0000
(15:06 -0700)
src/mesa/shader/slang/slang_emit.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/slang/slang_emit.c
b/src/mesa/shader/slang/slang_emit.c
index
462cc71
..
ac92bdc
100644
(file)
--- 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;