Searched refs:sv_template (Results 1 – 5 of 5) sorted by relevance
/external/mesa3d/src/gallium/tests/graw/ |
D | tex-swizzle.c | 123 struct pipe_sampler_view sv_template; in init_tex() local 139 memset(&sv_template, 0, sizeof sv_template); in init_tex() 140 sv_template.format = texture->format; in init_tex() 141 sv_template.texture = texture; in init_tex() 142 sv_template.swizzle_r = swizzle[0]; in init_tex() 143 sv_template.swizzle_g = swizzle[1]; in init_tex() 144 sv_template.swizzle_b = swizzle[2]; in init_tex() 145 sv_template.swizzle_a = swizzle[3]; in init_tex() 146 sv = info.ctx->create_sampler_view(info.ctx, texture, &sv_template); in init_tex()
|
D | quad-sample.c | 164 struct pipe_sampler_view sv_template; in init_tex() local 257 memset(&sv_template, 0, sizeof sv_template); in init_tex() 258 sv_template.format = samptex->format; in init_tex() 259 sv_template.texture = samptex; in init_tex() 260 sv_template.swizzle_r = 0; in init_tex() 261 sv_template.swizzle_g = 1; in init_tex() 262 sv_template.swizzle_b = 2; in init_tex() 263 sv_template.swizzle_a = 3; in init_tex() 264 sv = ctx->create_sampler_view(ctx, samptex, &sv_template); in init_tex()
|
D | fs-test.c | 248 struct pipe_sampler_view sv_template; in init_tex() local 342 memset(&sv_template, 0, sizeof sv_template); in init_tex() 343 sv_template.format = samptex->format; in init_tex() 344 sv_template.texture = samptex; in init_tex() 345 sv_template.swizzle_r = 0; in init_tex() 346 sv_template.swizzle_g = 1; in init_tex() 347 sv_template.swizzle_b = 2; in init_tex() 348 sv_template.swizzle_a = 3; in init_tex() 349 sv = ctx->create_sampler_view(ctx, samptex, &sv_template); in init_tex()
|
D | vs-test.c | 236 struct pipe_sampler_view sv_template; in init_tex() local 330 memset(&sv_template, 0, sizeof sv_template); in init_tex() 331 sv_template.format = samptex->format; in init_tex() 332 sv_template.texture = samptex; in init_tex() 333 sv_template.swizzle_r = 0; in init_tex() 334 sv_template.swizzle_g = 1; in init_tex() 335 sv_template.swizzle_b = 2; in init_tex() 336 sv_template.swizzle_a = 3; in init_tex() 337 sv = ctx->create_sampler_view(ctx, samptex, &sv_template); in init_tex()
|
D | gs-test.c | 338 struct pipe_sampler_view sv_template; in init_tex() local 432 memset(&sv_template, 0, sizeof sv_template); in init_tex() 433 sv_template.format = samptex->format; in init_tex() 434 sv_template.texture = samptex; in init_tex() 435 sv_template.swizzle_r = 0; in init_tex() 436 sv_template.swizzle_g = 1; in init_tex() 437 sv_template.swizzle_b = 2; in init_tex() 438 sv_template.swizzle_a = 3; in init_tex() 439 sv = ctx->create_sampler_view(ctx, samptex, &sv_template); in init_tex()
|