From: Brian Paul Date: Mon, 4 Aug 2008 19:06:19 +0000 (-0600) Subject: mesa: glsl: add missing code emit for struct/field X-Git-Tag: 062012170305~17580^2~390^2~772 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=95ecc33330b3eea4ddc21e2345adf2a9c04a38c3;p=profile%2Fivi%2Fmesa.git mesa: glsl: add missing code emit for struct/field --- diff --git a/src/mesa/shader/slang/slang_emit.c b/src/mesa/shader/slang/slang_emit.c index 323fc51..b1ebad7 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 */ }