Lines Matching defs:templ
114 struct pipe_resource templ, *res;
120 memset(&templ, 0, sizeof(templ));
121 templ.target = PIPE_TEXTURE_2D;
122 templ.last_level = 0;
123 templ.depth0 = 1;
124 templ.array_size = 1;
125 templ.width0 = desc->width;
126 templ.height0 = desc->height;
127 templ.format = VdpFormatRGBAToPipe(desc->format);
128 templ.bind = PIPE_BIND_SAMPLER_VIEW | PIPE_BIND_RENDER_TARGET;
129 templ.usage = PIPE_USAGE_DEFAULT;
139 res = st->screen->resource_from_handle(st->screen, &templ, &whandle,