Lines Matching full:sv_template
291 struct pipe_sampler_view sv_template;
389 memset(&sv_template, 0, sizeof sv_template);
390 sv_template.format = samptex->format;
391 sv_template.texture = samptex;
392 sv_template.swizzle_r = 0;
393 sv_template.swizzle_g = 1;
394 sv_template.swizzle_b = 2;
395 sv_template.swizzle_a = 3;
396 sv = ctx->create_sampler_view(ctx, samptex, &sv_template);