Lines Matching defs:templ
139 struct pipe_resource templ;
264 memset(&templ, 0, sizeof(templ));
265 templ.target = st->internal_target;
266 templ.format = format;
267 templ.width0 = width;
268 templ.height0 = height;
269 templ.depth0 = 1;
270 templ.array_size = 1;
271 templ.nr_samples = rb->NumSamples;
272 templ.nr_storage_samples = rb->NumStorageSamples;
275 templ.bind = PIPE_BIND_DEPTH_STENCIL;
279 templ.bind = PIPE_BIND_RENDER_TARGET;
283 templ.bind = (PIPE_BIND_DISPLAY_TARGET |
287 rb->texture = screen->resource_create(screen, &templ);