Lines Matching refs:decl
109 struct tgsi_full_declaration *decl = &ctx->FullToken.FullDeclaration;
111 memset(decl, 0, sizeof *decl);
112 copy_token(&decl->Declaration, &token);
114 next_token( ctx, &decl->Range );
116 if (decl->Declaration.Dimension) {
117 next_token(ctx, &decl->Dim);
120 if (decl->Declaration.Interpolate) {
121 next_token( ctx, &decl->Interp );
124 if (decl->Declaration.Semantic) {
125 next_token( ctx, &decl->Semantic );
128 if (decl->Declaration.File == TGSI_FILE_IMAGE) {
129 next_token(ctx, &decl->Image);
132 if (decl->Declaration.File == TGSI_FILE_SAMPLER_VIEW) {
133 next_token(ctx, &decl->SamplerView);
136 if (decl->Declaration.Array) {
137 next_token(ctx, &decl->Array);