summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/slang
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-12-12 15:00:06 -0700
committerBrian Paul <[email protected]>2009-01-06 09:10:35 -0700
commit91535b8a617b78b1f5e3d2325ca8832d255857a2 (patch)
tree08d6d3d02f5d25dc98f23f6bd5abc87a60877620 /src/mesa/shader/slang
parenta2ca0c0430433893876179a39f85a428862eabb2 (diff)
mesa: remove incorrect array_len assignment
(cherry picked from commit 9016331d0fd0783d1e46c9d4b651797d6af4a60f)
Diffstat (limited to 'src/mesa/shader/slang')
-rw-r--r--src/mesa/shader/slang/slang_compile.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/shader/slang/slang_compile.c b/src/mesa/shader/slang/slang_compile.c
index 6803e5a13c5..5b792e9fb6e 100644
--- a/src/mesa/shader/slang/slang_compile.c
+++ b/src/mesa/shader/slang/slang_compile.c
@@ -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;