Home | History | Annotate | Download | only in util

Lines Matching refs:decl

198                      struct tgsi_full_declaration *decl)
205 if (decl->Declaration.File == TGSI_FILE_SAMPLER) {
207 for (i = decl->Range.First; i <= decl->Range.Last; i++) {
211 else if (decl->Declaration.File == TGSI_FILE_INPUT) {
212 pctx->maxInput = MAX2(pctx->maxInput, (int) decl->Range.Last);
213 if (decl->Semantic.Name == TGSI_SEMANTIC_POSITION)
214 pctx->wincoordInput = (int) decl->Range.First;
216 else if (decl->Declaration.File == TGSI_FILE_TEMPORARY) {
218 for (i = decl->Range.First; i <= decl->Range.Last; i++) {
223 ctx->emit_declaration(ctx, decl);
270 struct tgsi_full_declaration decl;
299 decl = tgsi_default_full_declaration();
300 decl.Declaration.File = TGSI_FILE_INPUT;
301 decl.Declaration.Interpolate = 1;
302 decl.Declaration.Semantic = 1;
303 decl.Semantic.Name = TGSI_SEMANTIC_POSITION;
304 decl.Semantic.Index = 0;
305 decl.Range.First =
306 decl.Range.Last = wincoordInput;
307 decl.Interp.Interpolate = TGSI_INTERPOLATE_LINEAR;
308 ctx->emit_declaration(ctx, &decl);
312 decl = tgsi_default_full_declaration();
313 decl.Declaration.File = TGSI_FILE_SAMPLER;
314 decl.Range.First =
315 decl.Range.Last = pctx->freeSampler;
316 ctx->emit_declaration(ctx, &decl);
319 decl = tgsi_default_full_declaration();
320 decl.Declaration.File = TGSI_FILE_TEMPORARY;
321 decl.Range.First =
322 decl.Range.Last = pctx->texTemp;
323 ctx->emit_declaration(ctx, &decl);