Lines Matching defs:sampler_templ
268 struct pipe_sampler_view sampler_templ;
320 memset(&sampler_templ, 0, sizeof(sampler_templ));
321 u_sampler_view_default_template(&sampler_templ, tex, tex->format);
323 subpicture_priv->sampler = pipe->create_sampler_view(pipe, tex, &sampler_templ);
351 memset(&sampler_templ, 0, sizeof(sampler_templ));
352 u_sampler_view_default_template(&sampler_templ, tex, tex->format);
353 sampler_templ.swizzle_a = PIPE_SWIZZLE_1;
354 subpicture_priv->palette = pipe->create_sampler_view(pipe, tex, &sampler_templ);