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-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=95ecc33330b3eea4ddc21e2345adf2a9c04a38c3;p=mesa.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 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 */ }