• Home
  • Raw
  • Download

Lines Matching refs:decl

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