summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-08-04 13:06:19 -0600
committerBrian Paul <[email protected]>2008-08-04 17:14:48 -0600
commit95ecc33330b3eea4ddc21e2345adf2a9c04a38c3 (patch)
tree5de0726b9696ac52db817ff61449d6b3ef90c2c2 /src/mesa
parent02d223a7812c5cdf4bac5a83a8c9ce94a88fdba1 (diff)
mesa: glsl: add missing code emit for struct/field
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/shader/slang/slang_emit.c4
1 files changed, 4 insertions, 0 deletions
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 */
}