Lines Matching refs:decl

242    struct tgsi_full_declaration *decl )
248 ENM(decl->Declaration.File, tgsi_file_names);
251 if (decl->Declaration.File == TGSI_FILE_INPUT &&
256 if (decl->Declaration.Dimension) {
258 SID(decl->Dim.Index2D);
263 SID(decl->Range.First);
264 if (decl->Range.First != decl->Range.Last) {
266 SID(decl->Range.Last);
272 decl->Declaration.UsageMask );
274 if (decl->Declaration.Local)
277 if (decl->Declaration.Semantic) {
279 ENM( decl->Semantic.Name, tgsi_semantic_names );
280 if (decl->Semantic.Index != 0 ||
281 decl->Semantic.Name == TGSI_SEMANTIC_GENERIC) {
283 UID( decl->Semantic.Index );
288 if (decl->Declaration.File == TGSI_FILE_RESOURCE) {
290 ENM(decl->Resource.Resource, tgsi_texture_names);
291 if (decl->Resource.Writable)
293 if (decl->Resource.Raw)
297 if (decl->Declaration.File == TGSI_FILE_SAMPLER_VIEW) {
299 ENM(decl->SamplerView.Resource, tgsi_texture_names);
301 if ((decl->SamplerView.ReturnTypeX == decl->SamplerView.ReturnTypeY) &&
302 (decl->SamplerView.ReturnTypeX == decl->SamplerView.ReturnTypeZ) &&
303 (decl->SamplerView.ReturnTypeX == decl->SamplerView.ReturnTypeW)) {
304 ENM(decl->SamplerView.ReturnTypeX, tgsi_type_names);
306 ENM(decl->SamplerView.ReturnTypeX, tgsi_type_names);
308 ENM(decl->SamplerView.ReturnTypeY, tgsi_type_names);
310 ENM(decl->SamplerView.ReturnTypeZ, tgsi_type_names);
312 ENM(decl->SamplerView.ReturnTypeW, tgsi_type_names);
316 if (decl->Declaration.Interpolate) {
318 decl->Declaration.File == TGSI_FILE_INPUT)
321 ENM( decl->Interp.Interpolate, tgsi_interpolate_names );
324 if (decl->Interp.Centroid) {
328 if (decl->Interp.CylindricalWrap) {
330 if (decl->Interp.CylindricalWrap & TGSI_CYLINDRICAL_WRAP_X) {
333 if (decl->Interp.CylindricalWrap & TGSI_CYLINDRICAL_WRAP_Y) {
336 if (decl->Interp.CylindricalWrap & TGSI_CYLINDRICAL_WRAP_Z) {
339 if (decl->Interp.CylindricalWrap & TGSI_CYLINDRICAL_WRAP_W) {
345 if (decl->Declaration.Invariant) {
350 if (decl->Declaration.File == TGSI_FILE_IMMEDIATE_ARRAY) {
356 if (decl->Range.Last < 10)
358 else if (decl->Range.Last < 100) {
361 } else if (decl->Range.Last < 1000) {
372 dump_imm_data(iter, decl->ImmediateData.u,
374 for(i = 1; i <= decl->Range.Last; ++i) {
380 dump_imm_data(iter, decl->ImmediateData.u + i,
394 const struct tgsi_full_declaration *decl )
400 iter_declaration( &ctx.iter, (struct tgsi_full_declaration *)decl );