Lines Matching defs:templ
326 struct pipe_resource templ = {};
329 templ.format = PIPE_FORMAT_R8G8B8A8_UNORM;
330 templ.width0 = src->width0;
331 templ.height0 = src->height0;
332 templ.depth0 = src->depth0;
333 templ.array_size = src->array_size;
334 templ.nr_samples = src->nr_samples;
335 templ.nr_storage_samples = src->nr_storage_samples;
336 templ.usage = PIPE_USAGE_DEFAULT | PIPE_USAGE_STAGING;
337 templ.bind = src->bind;
338 templ.target = src->target;
340 surface->rgba_texture = screen->base.resource_create(&screen->base, &templ);