Lines Matching refs:parse
1035 struct tgsi_parse_context parse;
1063 k = tgsi_parse_init (&parse, mach->Tokens);
1118 while( !tgsi_parse_end_of_tokens( &parse ) ) {
1121 tgsi_parse_token( &parse );
1122 switch( parse.FullToken.Token.Type ) {
1133 if (parse.FullToken.FullDeclaration.Declaration.File == TGSI_FILE_OUTPUT)
1134 mach->NumOutputs = MAX2(mach->NumOutputs, parse.FullToken.FullDeclaration.Range.Last + 1);
1135 else if (parse.FullToken.FullDeclaration.Declaration.File == TGSI_FILE_SYSTEM_VALUE) {
1136 const struct tgsi_full_declaration *decl = &parse.FullToken.FullDeclaration;
1141 &parse.FullToken.FullDeclaration,
1148 uint size = parse.FullToken.FullImmediate.Immediate.NrTokens - 1;
1164 parse.FullToken.FullImmediate.u[i].Float;
1183 &parse.FullToken.FullInstruction,
1191 if (parse.FullToken.FullProperty.Property.PropertyName == TGSI_PROPERTY_GS_MAX_OUTPUT_VERTICES) {
1192 mach->MaxOutputVertices = parse.FullToken.FullProperty.u[0].Data;
1201 tgsi_parse_free (&parse);