<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Jul 9, 2014 at 12:29 AM, Ilia Mirkin <span dir="ltr"><<a href="mailto:imirkin@alum.mit.edu" target="_blank">imirkin@alum.mit.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Signed-off-by: Ilia Mirkin <<a href="mailto:imirkin@alum.mit.edu">imirkin@alum.mit.edu</a>><br>
---<br>
src/gallium/auxiliary/tgsi/tgsi_text.c | 7 +++++++<br>
1 file changed, 7 insertions(+)<br>
<br>
diff --git a/src/gallium/auxiliary/tgsi/tgsi_text.c b/src/gallium/auxiliary/tgsi/tgsi_text.c<br>
index c6134c5..6403344 100644<br>
--- a/src/gallium/auxiliary/tgsi/tgsi_text.c<br>
+++ b/src/gallium/auxiliary/tgsi/tgsi_text.c<br>
@@ -804,6 +804,13 @@ parse_src_operand(<br>
src->Dimension.Indirect = 0;<br>
src->Dimension.Dimension = 0;<br>
src->Dimension.Index = bracket[0].index;<br>
+ if (bracket[0].ind_file != TGSI_FILE_NULL) {<br>
+ src->Dimension.Indirect = 1;<br>
+ src->DimIndirect.File = bracket[0].ind_file;<br>
+ src->DimIndirect.Index = bracket[0].ind_index;<br>
+ src->DimIndirect.Swizzle = bracket[0].ind_comp;<br>
+ src->DimIndirect.ArrayID = bracket[0].ind_array;<br>
+ }<br>
bracket[0] = bracket[1];<br>
}<br>
src->Register.Index = bracket[0].index;<br>
<span class=""><font color="#888888"><br></font></span></blockquote></div><br>Reviewed-by: Brian Paul <<a href="mailto:brianp@vmware.com">brianp@vmware.com</a>><br></div></div>