Lines Matching defs:tpl
602 struct pipe_resource tpl = {};
603 tpl.width0 = info->dst.box.width;
604 tpl.height0 = info->dst.box.height;
605 tpl.depth0 = info->dst.box.depth;
606 tpl.array_size = 1;
607 tpl.format = PIPE_FORMAT_R8_UINT;
608 tpl.target = info->dst.resource->target;
609 tpl.nr_samples = info->dst.resource->nr_samples;
610 tpl.nr_storage_samples = info->dst.resource->nr_storage_samples;
611 tpl.usage = PIPE_USAGE_STREAM;
612 tpl.bind = PIPE_BIND_RENDER_TARGET | PIPE_BIND_SAMPLER_VIEW;
613 return screen->resource_create(screen, &tpl);