projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7a5822
)
use MAX_VARYING
author
Brian
<brian@yutani.localnet.net>
Fri, 15 Dec 2006 17:08:15 +0000
(10:08 -0700)
committer
Brian
<brian@yutani.localnet.net>
Fri, 15 Dec 2006 17:08:15 +0000
(10:08 -0700)
src/mesa/shader/slang/slang_link.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/slang/slang_link.c
b/src/mesa/shader/slang/slang_link.c
index 6114b7c2520acf8c0a15f4719e54f2302b4b3485..008b7ab36996fe8524157aa287a85bd5d759a4ea 100644
(file)
--- a/
src/mesa/shader/slang/slang_link.c
+++ b/
src/mesa/shader/slang/slang_link.c
@@
-566,7
+566,7
@@
add_varying_binding (slang_varying_bindings *self, slang_export_data_quant *q, c
}
}
- if (self->slot_count + slot_span > MAX_VARYING
_FLOATS
) {
+ if (self->slot_count + slot_span > MAX_VARYING
* 4
) {
/* TODO: info log: error: MAX_VARYING_FLOATS exceeded */
return GL_FALSE;
}