tgsi: add ArrayID to declarations
[mesa.git] / src / gallium / auxiliary / tgsi / tgsi_parse.c
index 720d68d1f2255505b283204d207588b1e1cde345..29079ef2140c95dc1ccfcd4be91ed18d2b57bdc7 100644 (file)
@@ -129,6 +129,10 @@ tgsi_parse_token(
          next_token(ctx, &decl->SamplerView);
       }
 
+      if( decl->Declaration.Array ) {
+         next_token(ctx, &decl->Array);
+      }
+
       break;
    }