Lines Matching refs:decl
105 struct tgsi_full_declaration *decl = &ctx->FullToken.FullDeclaration; in tgsi_parse_token() local
107 memset(decl, 0, sizeof *decl); in tgsi_parse_token()
108 copy_token(&decl->Declaration, &token); in tgsi_parse_token()
110 next_token( ctx, &decl->Range ); in tgsi_parse_token()
112 if (decl->Declaration.Dimension) { in tgsi_parse_token()
113 next_token(ctx, &decl->Dim); in tgsi_parse_token()
116 if( decl->Declaration.Interpolate ) { in tgsi_parse_token()
117 next_token( ctx, &decl->Interp ); in tgsi_parse_token()
120 if( decl->Declaration.Semantic ) { in tgsi_parse_token()
121 next_token( ctx, &decl->Semantic ); in tgsi_parse_token()
124 if (decl->Declaration.File == TGSI_FILE_IMMEDIATE_ARRAY) { in tgsi_parse_token()
126 decl->ImmediateData.u = (union tgsi_immediate_data*) in tgsi_parse_token()
128 for (i = 0; i <= decl->Range.Last; ++i) { in tgsi_parse_token()
135 if (decl->Declaration.File == TGSI_FILE_RESOURCE) { in tgsi_parse_token()
136 next_token(ctx, &decl->Resource); in tgsi_parse_token()
139 if (decl->Declaration.File == TGSI_FILE_SAMPLER_VIEW) { in tgsi_parse_token()
140 next_token(ctx, &decl->SamplerView); in tgsi_parse_token()