diff options
author | Christian König <[email protected]> | 2013-03-07 16:52:54 +0100 |
---|---|---|
committer | Christian König <[email protected]> | 2013-03-19 13:38:32 +0100 |
commit | d3e07bed90d6b94ac37a7f48417bf8962408fa47 (patch) | |
tree | 7259b5e861e71e98d09f9c667133a203e12d7602 /src/gallium/auxiliary/tgsi/tgsi_parse.c | |
parent | affdff230b8207a4344cebbdc0acf0fbf67c8fa3 (diff) |
tgsi: remove TGSI_FILE_(IMMEDIATE|TEMP)_ARRAY
Nobody seems to be using it, and only nv50 had a partial implementation.
Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_parse.c')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_parse.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_parse.c b/src/gallium/auxiliary/tgsi/tgsi_parse.c index 45c5c41ec82..720d68d1f22 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_parse.c +++ b/src/gallium/auxiliary/tgsi/tgsi_parse.c @@ -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); } |