From 95ecc33330b3eea4ddc21e2345adf2a9c04a38c3 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 4 Aug 2008 13:06:19 -0600 Subject: [PATCH] mesa: glsl: add missing code emit for struct/field --- src/mesa/shader/slang/slang_emit.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mesa/shader/slang/slang_emit.c b/src/mesa/shader/slang/slang_emit.c index 323fc511a6e..b1ebad7f177 100644 --- a/src/mesa/shader/slang/slang_emit.c +++ b/src/mesa/shader/slang/slang_emit.c @@ -1621,6 +1621,10 @@ emit_struct_field(slang_emit_info *emitInfo, slang_ir_node *n) return NULL; } } + else { + /* do codegen for struct */ + emit(emitInfo, n->Children[0]); + } return NULL; /* no instruction */ } -- 2.30.2