Lines Matching defs:templat
82 struct pipe_resource templat;
85 memset(&templat, 0, sizeof(templat));
86 templat.target = PIPE_BUFFER;
87 templat.format = PIPE_FORMAT_R8_UNORM;
88 templat.width0 = sizeof(constants);
89 templat.height0 = 1;
90 templat.depth0 = 1;
91 templat.array_size = 1;
92 templat.last_level = 0;
93 templat.bind = PIPE_BIND_CONSTANT_BUFFER;
96 &templat);
243 struct pipe_resource templat;
289 memset(&templat, 0, sizeof(templat));
290 templat.target = PIPE_TEXTURE_2D;
291 templat.format = PIPE_FORMAT_B8G8R8A8_UNORM;
292 templat.width0 = SIZE;
293 templat.height0 = SIZE;
294 templat.depth0 = 1;
295 templat.array_size = 1;
296 templat.last_level = 0;
297 templat.bind = PIPE_BIND_SAMPLER_VIEW;
301 &templat);
372 struct pipe_resource templat;
398 memset(&templat, 0, sizeof(templat));
399 templat.target = PIPE_TEXTURE_2D;
400 templat.format = formats[i];
401 templat.width0 = WIDTH;
402 templat.height0 = HEIGHT;
403 templat.depth0 = 1;
404 templat.array_size = 1;
405 templat.last_level = 0;
406 templat.bind = (PIPE_BIND_RENDER_TARGET |
410 &templat);
414 surf_tmpl.format = templat.format;