Home | History | Annotate | Download | only in nv50

Lines Matching refs:swz

35 nv50_tic_swizzle(uint32_t tc, unsigned swz, boolean tex_int)
37 switch (swz) {
80 uint32_t swz[4];
109 swz[0] = nv50_tic_swizzle(tic[0], view->pipe.swizzle_r, tex_int);
110 swz[1] = nv50_tic_swizzle(tic[0], view->pipe.swizzle_g, tex_int);
111 swz[2] = nv50_tic_swizzle(tic[0], view->pipe.swizzle_b, tex_int);
112 swz[3] = nv50_tic_swizzle(tic[0], view->pipe.swizzle_a, tex_int);
114 (swz[0] << NV50_TIC_0_MAPR__SHIFT) |
115 (swz[1] << NV50_TIC_0_MAPG__SHIFT) |
116 (swz[2] << NV50_TIC_0_MAPB__SHIFT) |
117 (swz[3] << NV50_TIC_0_MAPA__SHIFT);