tgsi: remove TGSI_FILE_(IMMEDIATE|TEMP)_ARRAY
[mesa.git] / src / gallium / auxiliary / tgsi / tgsi_parse.c
index 45c5c41ec82d7632b7c1109a302fedafb59f7c0b..720d68d1f2255505b283204d207588b1e1cde345 100644 (file)
@@ -121,17 +121,6 @@ tgsi_parse_token(
          next_token( ctx, &decl->Semantic );
       }
 
-      if (decl->Declaration.File == TGSI_FILE_IMMEDIATE_ARRAY) {
-         unsigned i, j;
-         decl->ImmediateData.u = (union tgsi_immediate_data*)
-                                 &ctx->Tokens[ctx->Position];
-         for (i = 0; i <= decl->Range.Last; ++i) {
-            for (j = 0; j < 4; ++j) {
-               ctx->Position++;
-            }
-         }
-      }
-
       if (decl->Declaration.File == TGSI_FILE_RESOURCE) {
          next_token(ctx, &decl->Resource);
       }