Lines Matching refs:templ
150 struct pipe_resource templ;
153 memset(&templ, 0, sizeof(templ));
154 templ.target = PIPE_TEXTURE_2D;
155 templ.width0 = width;
156 templ.height0 = height;
157 templ.depth0 = 1;
158 templ.array_size = 1;
159 templ.last_level = 0;
183 templ.nr_samples = templ.nr_storage_samples = 1;
184 templ.format = stwfb->stvis.color_format;
185 stwfb->fb->winsys_framebuffer->resize(stwfb->fb->winsys_framebuffer, stctx->pipe, &templ);
231 templ.format = format;
234 templ.bind = PIPE_BIND_SAMPLER_VIEW | PIPE_BIND_RENDER_TARGET;
235 templ.nr_samples = templ.nr_storage_samples =
239 stw_dev->screen->resource_create(stw_dev->screen, &templ);
242 templ.bind = bind;
243 templ.nr_samples = templ.nr_storage_samples = 1;
262 &templ,
271 stw_dev->screen->resource_create(stw_dev->screen, &templ);
289 templ.format = stwfb->stvis.color_format;
290 templ.bind = PIPE_BIND_SAMPLER_VIEW | PIPE_BIND_RENDER_TARGET;
291 templ.nr_samples = templ.nr_storage_samples = 1;
294 stw_dev->screen->resource_create(stw_dev->screen, &templ);