Lines Matching defs:templat
151 struct pipe_resource templat;
153 memset(&templat, 0, sizeof(templat));
154 templat.target = PIPE_BUFFER;
155 templat.format = PIPE_FORMAT_R8_UNORM;
156 templat.width0 = sizeof(constants1);
157 templat.height0 = 1;
158 templat.depth0 = 1;
159 templat.array_size = 1;
160 templat.last_level = 0;
161 templat.bind = PIPE_BIND_CONSTANT_BUFFER;
163 constbuf1 = screen->resource_create(screen, &templat);
166 constbuf2 = screen->resource_create(screen, &templat);
345 struct pipe_resource templat;
391 memset(&templat, 0, sizeof(templat));
392 templat.target = PIPE_TEXTURE_2D;
393 templat.format = PIPE_FORMAT_B8G8R8A8_UNORM;
394 templat.width0 = SIZE;
395 templat.height0 = SIZE;
396 templat.depth0 = 1;
397 templat.array_size = 1;
398 templat.last_level = 0;
399 templat.bind = PIPE_BIND_SAMPLER_VIEW;
403 &templat);
474 struct pipe_resource templat;
500 memset(&templat, 0, sizeof(templat));
501 templat.target = PIPE_TEXTURE_2D;
502 templat.format = formats[i];
503 templat.width0 = WIDTH;
504 templat.height0 = HEIGHT;
505 templat.depth0 = 1;
506 templat.array_size = 1;
507 templat.last_level = 0;
508 templat.bind = (PIPE_BIND_RENDER_TARGET |
512 &templat);
516 surf_tmpl.format = templat.format;