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