From 89f88058b9321d9aac50200f9e173a7302934c27 Mon Sep 17 00:00:00 2001 From: Brian Date: Fri, 15 Dec 2006 10:08:24 -0700 Subject: [PATCH] use MAX_VARYING --- src/mesa/shader/slang/slang_link.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/shader/slang/slang_link.h b/src/mesa/shader/slang/slang_link.h index af45c6657e4..e96dd51ed47 100644 --- a/src/mesa/shader/slang/slang_link.h +++ b/src/mesa/shader/slang/slang_link.h @@ -181,9 +181,9 @@ typedef struct typedef struct { - slang_varying_binding bindings[MAX_VARYING_FLOATS]; + slang_varying_binding bindings[MAX_VARYING * 4]; GLuint binding_count; - slang_varying_slot slots[MAX_VARYING_FLOATS]; + slang_varying_slot slots[MAX_VARYING * 4]; GLuint slot_count; } slang_varying_bindings; /*@}*/ -- 2.30.2