diff options
author | Brian <[email protected]> | 2006-12-15 10:08:15 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2006-12-15 10:08:15 -0700 |
commit | e3b266886583cb8ab7feff4fd1df98ecda24d438 (patch) | |
tree | b4f1b71d04b32257ef66d6832d33c1e3c52c89f4 | |
parent | a7a582296bf23556e3e9c013b33b619ccc0f795c (diff) |
use MAX_VARYING
-rw-r--r-- | src/mesa/shader/slang/slang_link.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/slang/slang_link.c b/src/mesa/shader/slang/slang_link.c index 6114b7c2520..008b7ab3699 100644 --- 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; } |