201
201
decl = tgsi_default_full_declaration();
202
202
decl.Declaration.File = TGSI_FILE_INPUT;
203
203
/* XXX this could be linear... */
205
205
decl.Declaration.Semantic = 1;
206
206
decl.Semantic.Name = TGSI_SEMANTIC_GENERIC;
207
207
decl.Semantic.Index = aactx->maxGeneric + 1;
209
209
decl.Range.Last = texInput;
210
211
ctx->emit_declaration(ctx, &decl);
212
213
/* declare new temp regs */