Home
last modified time | relevance | path

Searched refs:sv_template (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/gallium/tests/graw/
Dtex-swizzle.c121 struct pipe_sampler_view sv_template; in init_tex() local
137 memset(&sv_template, 0, sizeof sv_template); in init_tex()
138 sv_template.format = texture->format; in init_tex()
139 sv_template.texture = texture; in init_tex()
140 sv_template.swizzle_r = swizzle[0]; in init_tex()
141 sv_template.swizzle_g = swizzle[1]; in init_tex()
142 sv_template.swizzle_b = swizzle[2]; in init_tex()
143 sv_template.swizzle_a = swizzle[3]; in init_tex()
144 sv = info.ctx->create_sampler_view(info.ctx, texture, &sv_template); in init_tex()
Dquad-sample.c165 struct pipe_sampler_view sv_template; in init_tex() local
262 memset(&sv_template, 0, sizeof sv_template); in init_tex()
263 sv_template.format = samptex->format; in init_tex()
264 sv_template.texture = samptex; in init_tex()
265 sv_template.swizzle_r = 0; in init_tex()
266 sv_template.swizzle_g = 1; in init_tex()
267 sv_template.swizzle_b = 2; in init_tex()
268 sv_template.swizzle_a = 3; in init_tex()
269 sv = ctx->create_sampler_view(ctx, samptex, &sv_template); in init_tex()
Dvs-test.c242 struct pipe_sampler_view sv_template; in init_tex() local
340 memset(&sv_template, 0, sizeof sv_template); in init_tex()
341 sv_template.format = samptex->format; in init_tex()
342 sv_template.texture = samptex; in init_tex()
343 sv_template.swizzle_r = 0; in init_tex()
344 sv_template.swizzle_g = 1; in init_tex()
345 sv_template.swizzle_b = 2; in init_tex()
346 sv_template.swizzle_a = 3; in init_tex()
347 sv = ctx->create_sampler_view(ctx, samptex, &sv_template); in init_tex()
Dfs-test.c291 struct pipe_sampler_view sv_template; in init_tex() local
389 memset(&sv_template, 0, sizeof sv_template); in init_tex()
390 sv_template.format = samptex->format; in init_tex()
391 sv_template.texture = samptex; in init_tex()
392 sv_template.swizzle_r = 0; in init_tex()
393 sv_template.swizzle_g = 1; in init_tex()
394 sv_template.swizzle_b = 2; in init_tex()
395 sv_template.swizzle_a = 3; in init_tex()
396 sv = ctx->create_sampler_view(ctx, samptex, &sv_template); in init_tex()
Dgs-test.c355 struct pipe_sampler_view sv_template; in init_tex() local
453 memset(&sv_template, 0, sizeof sv_template); in init_tex()
454 sv_template.format = samptex->format; in init_tex()
455 sv_template.texture = samptex; in init_tex()
456 sv_template.swizzle_r = 0; in init_tex()
457 sv_template.swizzle_g = 1; in init_tex()
458 sv_template.swizzle_b = 2; in init_tex()
459 sv_template.swizzle_a = 3; in init_tex()
460 sv = ctx->create_sampler_view(ctx, samptex, &sv_template); in init_tex()