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