mesa: remove incorrect array_len assignment
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 12 Dec 2008 22:00:06 +0000 (15:00 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 6 Jan 2009 16:10:35 +0000 (09:10 -0700)
(cherry picked from commit 9016331d0fd0783d1e46c9d4b651797d6af4a60f)

src/mesa/shader/slang/slang_compile.c

index 6803e5a13c53642e90c54bfb0770c5d686991c4d..5b792e9fb6e75f6d56e1405a4046bdde8754737e 100644 (file)
@@ -1991,7 +1991,6 @@ parse_init_declarator(slang_parse_ctx * C, slang_output_ctx * O,
    var->type.centroid = type->centroid;
    var->type.precision = type->precision;
    var->type.variant = type->variant;
-   var->type.array_len = type->array_len;
    var->a_name = a_name;
    if (var->a_name == SLANG_ATOM_NULL)
       RETURN0;