Home | History | Annotate | Download | only in tgsi

Lines Matching refs:ctx

35    struct tgsi_parse_context *ctx,
38 ctx->FullHeader.Header = *(struct tgsi_header *) &tokens[0];
39 if( ctx->FullHeader.Header.HeaderSize >= 2 ) {
40 ctx->FullHeader.Processor = *(struct tgsi_processor *) &tokens[1];
46 ctx->Tokens = tokens;
47 ctx->Position = ctx->FullHeader.Header.HeaderSize;
54 struct tgsi_parse_context *ctx )
60 struct tgsi_parse_context *ctx )
62 return ctx->Position >=
63 ctx->FullHeader.Header.HeaderSize + ctx->FullHeader.Header.BodySize;
84 struct tgsi_parse_context *ctx,
87 assert( !tgsi_parse_end_of_tokens( ctx ) );
88 copy_token(token, &ctx->Tokens[ctx->Position]);
89 ctx->Position++;
95 struct tgsi_parse_context *ctx )
100 next_token( ctx, &token );
105 struct tgsi_full_declaration *decl = &ctx->FullToken.FullDeclaration;
110 next_token( ctx, &decl->Range );
113 next_token(ctx, &decl->Dim);
117 next_token( ctx, &decl->Interp );
121 next_token( ctx, &decl->Semantic );
127 &ctx->Tokens[ctx->Position];
130 ctx->Position++;
136 next_token(ctx, &decl->Resource);
140 next_token(ctx, &decl->SamplerView);
148 struct tgsi_full_immediate *imm = &ctx->FullToken.FullImmediate;
159 next_token(ctx, &imm->u[i].Float);
165 next_token(ctx, &imm->u[i].Uint);
171 next_token(ctx, &imm->u[i].Int);
184 struct tgsi_full_instruction *inst = &ctx->FullToken.FullInstruction;
190 next_token(ctx, &inst->Predicate);
194 next_token( ctx, &inst->Label);
198 next_token( ctx, &inst->Texture);
200 next_token( ctx, &inst->TexOffsets[i] );
208 next_token( ctx, &inst->Dst[i].Register );
211 next_token( ctx, &inst->Dst[i].Indirect );
220 next_token( ctx, &inst->Dst[i].Dimension );
228 next_token( ctx, &inst->Dst[i].DimIndirect );
243 next_token( ctx, &inst->Src[i].Register );
246 next_token( ctx, &inst->Src[i].Indirect );
256 next_token( ctx, &inst->Src[i].Dimension );
264 next_token( ctx, &inst->Src[i].DimIndirect );
280 struct tgsi_full_property *prop = &ctx->FullToken.FullProperty;
288 next_token(ctx, &prop->u[i]);