Lines Matching refs:templat
250 struct pipe_resource templat; in init_tex() local
296 memset(&templat, 0, sizeof(templat)); in init_tex()
297 templat.target = PIPE_TEXTURE_2D; in init_tex()
298 templat.format = PIPE_FORMAT_B8G8R8A8_UNORM; in init_tex()
299 templat.width0 = SIZE; in init_tex()
300 templat.height0 = SIZE; in init_tex()
301 templat.depth0 = 1; in init_tex()
302 templat.array_size = 1; in init_tex()
303 templat.last_level = 0; in init_tex()
304 templat.nr_samples = 1; in init_tex()
305 templat.bind = PIPE_BIND_SAMPLER_VIEW; in init_tex()
309 &templat); in init_tex()
380 struct pipe_resource templat; in init() local
406 memset(&templat, 0, sizeof(templat)); in init()
407 templat.target = PIPE_TEXTURE_2D; in init()
408 templat.format = formats[i]; in init()
409 templat.width0 = WIDTH; in init()
410 templat.height0 = HEIGHT; in init()
411 templat.depth0 = 1; in init()
412 templat.array_size = 1; in init()
413 templat.last_level = 0; in init()
414 templat.nr_samples = 1; in init()
415 templat.bind = (PIPE_BIND_RENDER_TARGET | in init()
419 &templat); in init()
423 surf_tmpl.format = templat.format; in init()