Home | History | Annotate | Download | only in tgsi

Lines Matching defs:decl

48                struct tgsi_full_declaration *decl)
53 decl->Declaration.File == TGSI_FILE_INPUT) {
54 assert(decl->Declaration.Interpolate);
55 decl->Interp.Location = TGSI_INTERPOLATE_LOC_SAMPLE;
58 tctx->emit_declaration(tctx, decl);
65 struct tgsi_full_declaration decl;
69 decl = tgsi_default_full_declaration();
70 decl.Declaration.File = TGSI_FILE_INPUT;
71 decl.Range.First = decl.Range.Last = ctx->info.num_inputs;
72 tctx->emit_declaration(tctx, &decl);
75 decl = tgsi_default_full_declaration();
76 decl.Declaration.File = TGSI_FILE_OUTPUT;
77 decl.Declaration.Semantic = true;
78 decl.Range.First = decl.Range.Last = ctx->info.num_outputs;
79 decl.Semantic.Name = TGSI_SEMANTIC_EDGEFLAG;
80 decl.Semantic.Index = 0;
81 tctx->emit_declaration(tctx, &decl);