summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian <[email protected]>2006-12-15 10:08:15 -0700
committerBrian <[email protected]>2006-12-15 10:08:15 -0700
commite3b266886583cb8ab7feff4fd1df98ecda24d438 (patch)
treeb4f1b71d04b32257ef66d6832d33c1e3c52c89f4 /src/mesa
parenta7a582296bf23556e3e9c013b33b619ccc0f795c (diff)
use MAX_VARYING
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/shader/slang/slang_link.c2
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;
}