• Home
  • Raw
  • Download

Lines Matching refs:templat

151    struct pipe_resource templat;  in init_fs_constbuf()  local
154 templat.target = PIPE_BUFFER; in init_fs_constbuf()
155 templat.format = PIPE_FORMAT_R8_UNORM; in init_fs_constbuf()
156 templat.width0 = sizeof(constants1); in init_fs_constbuf()
157 templat.height0 = 1; in init_fs_constbuf()
158 templat.depth0 = 1; in init_fs_constbuf()
159 templat.array_size = 1; in init_fs_constbuf()
160 templat.last_level = 0; in init_fs_constbuf()
161 templat.nr_samples = 1; in init_fs_constbuf()
162 templat.bind = PIPE_BIND_CONSTANT_BUFFER; in init_fs_constbuf()
164 constbuf1 = screen->resource_create(screen, &templat); in init_fs_constbuf()
167 constbuf2 = screen->resource_create(screen, &templat); in init_fs_constbuf()
357 struct pipe_resource templat; in init_tex() local
403 templat.target = PIPE_TEXTURE_2D; in init_tex()
404 templat.format = PIPE_FORMAT_B8G8R8A8_UNORM; in init_tex()
405 templat.width0 = SIZE; in init_tex()
406 templat.height0 = SIZE; in init_tex()
407 templat.depth0 = 1; in init_tex()
408 templat.array_size = 1; in init_tex()
409 templat.last_level = 0; in init_tex()
410 templat.nr_samples = 1; in init_tex()
411 templat.bind = PIPE_BIND_SAMPLER_VIEW; in init_tex()
415 &templat); in init_tex()
490 struct pipe_resource templat; in init() local
516 templat.target = PIPE_TEXTURE_2D; in init()
517 templat.format = formats[i]; in init()
518 templat.width0 = WIDTH; in init()
519 templat.height0 = HEIGHT; in init()
520 templat.depth0 = 1; in init()
521 templat.array_size = 1; in init()
522 templat.last_level = 0; in init()
523 templat.nr_samples = 1; in init()
524 templat.bind = (PIPE_BIND_RENDER_TARGET | in init()
528 &templat); in init()
532 surf_tmpl.format = templat.format; in init()