use MAX_VARYING
authorBrian <brian@yutani.localnet.net>
Fri, 15 Dec 2006 17:08:24 +0000 (10:08 -0700)
committerBrian <brian@yutani.localnet.net>
Fri, 15 Dec 2006 17:08:24 +0000 (10:08 -0700)
src/mesa/shader/slang/slang_link.h

index af45c6657e4acb6c7497608282fab980590b7d00..e96dd51ed47820b6d7446c71faa76b34ec23724e 100644 (file)
@@ -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;
 /*@}*/