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