Lines Matching refs:sv_template
165 struct pipe_sampler_view sv_template;
262 memset(&sv_template, 0, sizeof sv_template);
263 sv_template.format = samptex->format;
264 sv_template.texture = samptex;
265 sv_template.swizzle_r = 0;
266 sv_template.swizzle_g = 1;
267 sv_template.swizzle_b = 2;
268 sv_template.swizzle_a = 3;
269 sv = ctx->create_sampler_view(ctx, samptex, &sv_template);