Lines Matching defs:dim
1447 unsigned dim = 1 + ((key->projected >> (2 * s)) & 3);
1448 if (dim == 4)
1452 ureg_RCP(ureg, ureg_writemask(tmp, TGSI_WRITEMASK_X), ureg_scalar(texture_coord, dim-1));
1674 unsigned dim;
1686 dim = context->ff.tex_stage[s][D3DTSS_TEXTURETRANSFORMFLAGS] & 0x7;
1687 if (dim > 4)
1688 dim = input_texture_coord[idx];
1689 if (dim == 1) /* NV behaviour */
1690 dim = 0;
1691 key.tc_dim_output |= dim << (s * 3);