projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20b8bff
)
mesa: set input read only on success
author
Markus Amsler
<markus.amsler@oribi.org>
Wed, 27 Feb 2008 01:04:06 +0000
(
02:04
+0100)
committer
John Doe
<glisse@freedesktop.org>
Wed, 27 Feb 2008 01:04:06 +0000
(
02:04
+0100)
src/mesa/shader/arbprogparse.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/arbprogparse.c
b/src/mesa/shader/arbprogparse.c
index ead0580ed43421e29be9782baa6691f9298606e6..10fa196586599af3fe8210614cd57f5b4e5b20ac 100644
(file)
--- a/
src/mesa/shader/arbprogparse.c
+++ b/
src/mesa/shader/arbprogparse.c
@@
-1616,10
+1616,10
@@
parse_attrib_binding(GLcontext * ctx, const GLubyte ** inst,
if (err) {
program_error(ctx, Program->Position, "Bad attribute binding");
+ } else {
+ Program->Base.InputsRead |= (1 << *inputReg);
}
- Program->Base.InputsRead |= (1 << *inputReg);
-
return err;
}