Lines Matching defs:swz
37 nv50_tic_swizzle(uint32_t tc, unsigned swz, boolean tex_int)
39 switch (swz) {
64 uint32_t swz[4];
92 swz[0] = nv50_tic_swizzle(tic[0], view->pipe.swizzle_r, tex_int);
93 swz[1] = nv50_tic_swizzle(tic[0], view->pipe.swizzle_g, tex_int);
94 swz[2] = nv50_tic_swizzle(tic[0], view->pipe.swizzle_b, tex_int);
95 swz[3] = nv50_tic_swizzle(tic[0], view->pipe.swizzle_a, tex_int);
97 (swz[0] << NV50_TIC_0_MAPR__SHIFT) |
98 (swz[1] << NV50_TIC_0_MAPG__SHIFT) |
99 (swz[2] << NV50_TIC_0_MAPB__SHIFT) |
100 (swz[3] << NV50_TIC_0_MAPA__SHIFT);