Lines Matching defs:tex
406 instr_fetch_tex_t *tex = &fetch->tex;
407 uint32_t src_swiz = tex->src_swiz;
410 if (tex->pred_select) {
414 printf(tex->pred_condition ? "EQ" : "NE");
417 print_fetch_dst(tex->dst_reg, tex->dst_swiz);
418 printf(" = R%u.", tex->src_reg);
423 printf(" CONST(%u)", tex->const_idx);
424 if (tex->fetch_valid_only)
426 if (tex->tx_coord_denorm)
428 if (tex->mag_filter != TEX_FILTER_USE_FETCH_CONST)
429 printf(" MAG(%s)", filter[tex->mag_filter]);
430 if (tex->min_filter != TEX_FILTER_USE_FETCH_CONST)
431 printf(" MIN(%s)", filter[tex->min_filter]);
432 if (tex->mip_filter != TEX_FILTER_USE_FETCH_CONST)
433 printf(" MIP(%s)", filter[tex->mip_filter]);
434 if (tex->aniso_filter != ANISO_FILTER_USE_FETCH_CONST)
435 printf(" ANISO(%s)", aniso_filter[tex->aniso_filter]);
436 if (tex->arbitrary_filter != ARBITRARY_FILTER_USE_FETCH_CONST)
437 printf(" ARBITRARY(%s)", arbitrary_filter[tex->arbitrary_filter]);
438 if (tex->vol_mag_filter != TEX_FILTER_USE_FETCH_CONST)
439 printf(" VOL_MAG(%s)", filter[tex->vol_mag_filter]);
440 if (tex->vol_min_filter != TEX_FILTER_USE_FETCH_CONST)
441 printf(" VOL_MIN(%s)", filter[tex->vol_min_filter]);
442 if (!tex->use_comp_lod) {
443 printf(" LOD(%u)", tex->use_comp_lod);
444 printf(" LOD_BIAS(%u)", tex->lod_bias);
446 if (tex->use_reg_lod) {
447 printf(" REG_LOD(%u)", tex->use_reg_lod);
449 if (tex->use_reg_gradients)
451 printf(" LOCATION(%s)", sample_loc[tex->sample_location]);
452 if (tex->offset_x || tex->offset_y || tex->offset_z)
453 printf(" OFFSET(%u,%u,%u)", tex->offset_x, tex->offset_y, tex->offset_z);