From: Brian Date: Fri, 15 Dec 2006 17:08:15 +0000 (-0700) Subject: use MAX_VARYING X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e3b266886583cb8ab7feff4fd1df98ecda24d438;p=mesa.git use MAX_VARYING --- 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; }