Lines Matching refs:swz
190 swizzle(const struct nv30_texfmt *fmt, unsigned cmp, unsigned swz) in swizzle() argument
192 uint32_t data = fmt->swz[swz].src << 8; in swizzle()
193 if (swz <= PIPE_SWIZZLE_ALPHA) in swizzle()
194 data |= fmt->swz[swz].cmp; in swizzle()
196 data |= fmt->swz[cmp].cmp; in swizzle()
240 so->swz = fmt->swizzle; in nv30_sampler_view_create()
241 so->swz |= swizzle(fmt, 3, tmpl->swizzle_a); in nv30_sampler_view_create()
242 so->swz |= swizzle(fmt, 0, tmpl->swizzle_r) << 2; in nv30_sampler_view_create()
243 so->swz |= swizzle(fmt, 1, tmpl->swizzle_g) << 4; in nv30_sampler_view_create()
244 so->swz |= swizzle(fmt, 2, tmpl->swizzle_b) << 6; in nv30_sampler_view_create()
277 so->swz |= mt->uniform_pitch << NV30_3D_TEX_SWIZZLE_RECT_PITCH__SHIFT; in nv30_sampler_view_create()