Home | History | Annotate | Download | only in vl

Lines Matching full:res_tmpl

351    struct pipe_resource res_tmpl, *res;
370 memset(&res_tmpl, 0, sizeof(res_tmpl));
371 res_tmpl.target = PIPE_TEXTURE_2D;
372 res_tmpl.format = PIPE_FORMAT_R32_FLOAT;
373 res_tmpl.width0 = VL_BLOCK_WIDTH * blocks_per_line;
374 res_tmpl.height0 = VL_BLOCK_HEIGHT;
375 res_tmpl.depth0 = 1;
376 res_tmpl.array_size = 1;
377 res_tmpl.usage = PIPE_USAGE_IMMUTABLE;
378 res_tmpl.bind = PIPE_BIND_SAMPLER_VIEW;
380 res = pipe->screen->resource_create(pipe->screen, &res_tmpl);
471 struct pipe_resource res_tmpl, *res;
494 memset(&res_tmpl, 0, sizeof(res_tmpl));
495 res_tmpl.target = PIPE_TEXTURE_3D;
496 res_tmpl.format = PIPE_FORMAT_R8_UNORM;
497 res_tmpl.width0 = VL_BLOCK_WIDTH * zscan->blocks_per_line;
498 res_tmpl.height0 = VL_BLOCK_HEIGHT;
499 res_tmpl.depth0 = 2;
500 res_tmpl.array_size = 1;
501 res_tmpl.usage = PIPE_USAGE_IMMUTABLE;
502 res_tmpl.bind = PIPE_BIND_SAMPLER_VIEW;
504 res = zscan->pipe->screen->resource_create(zscan->pipe->screen, &res_tmpl);