Lines Matching defs:res_tmpl
251 struct pipe_resource res_tmpl, *res;
349 memset(&res_tmpl, 0, sizeof(res_tmpl));
351 res_tmpl.target = PIPE_TEXTURE_2D;
352 res_tmpl.format = dst->sampler_view->format;
353 res_tmpl.depth0 = 1;
354 res_tmpl.array_size = 1;
355 res_tmpl.bind = PIPE_BIND_SAMPLER_VIEW | PIPE_BIND_RENDER_TARGET;
356 res_tmpl.usage = PIPE_USAGE_DEFAULT;
359 res_tmpl.width0 = dst->surface->width;
360 res_tmpl.height0 = dst->surface->height;
362 res_tmpl.width0 = surf->templat.width;
363 res_tmpl.height0 = surf->templat.height;
366 res = pipe->screen->resource_create(pipe->screen, &res_tmpl);
411 res = pipe->screen->resource_create(pipe->screen, &res_tmpl);
432 res = pipe->screen->resource_create(pipe->screen, &res_tmpl);