Lines Matching refs:templat
166 struct pipe_resource templat; in init_tex() local
212 memset(&templat, 0, sizeof(templat)); in init_tex()
213 templat.target = PIPE_TEXTURE_2D; in init_tex()
214 templat.format = PIPE_FORMAT_B8G8R8A8_UNORM; in init_tex()
215 templat.width0 = SIZE; in init_tex()
216 templat.height0 = SIZE; in init_tex()
217 templat.depth0 = 1; in init_tex()
218 templat.last_level = 0; in init_tex()
219 templat.nr_samples = 1; in init_tex()
220 templat.bind = PIPE_BIND_SAMPLER_VIEW; in init_tex()
224 &templat); in init_tex()
295 struct pipe_resource templat; in init() local
321 memset(&templat, 0, sizeof(templat)); in init()
322 templat.target = PIPE_TEXTURE_2D; in init()
323 templat.format = formats[i]; in init()
324 templat.width0 = WIDTH; in init()
325 templat.height0 = HEIGHT; in init()
326 templat.depth0 = 1; in init()
327 templat.array_size = 1; in init()
328 templat.last_level = 0; in init()
329 templat.nr_samples = 1; in init()
330 templat.bind = (PIPE_BIND_RENDER_TARGET | in init()
334 &templat); in init()
338 surf_tmpl.format = templat.format; in init()