Lines Matching refs:tmpl
271 const struct pipe_resource *tmpl) in nv30_miptree_create() argument
280 switch (tmpl->nr_samples) { in nv30_miptree_create()
299 *pt = *tmpl; in nv30_miptree_create()
359 const struct pipe_resource *tmpl, in nv30_miptree_from_handle() argument
366 if ((tmpl->target != PIPE_TEXTURE_2D && in nv30_miptree_from_handle()
367 tmpl->target != PIPE_TEXTURE_RECT) || in nv30_miptree_from_handle()
368 tmpl->last_level != 0 || in nv30_miptree_from_handle()
369 tmpl->depth0 != 1 || in nv30_miptree_from_handle()
370 tmpl->array_size > 1) in nv30_miptree_from_handle()
383 mt->base.base = *tmpl; in nv30_miptree_from_handle()
398 const struct pipe_surface *tmpl) in nv30_miptree_surface_new() argument
403 struct nv30_miptree_level *lvl = &mt->level[tmpl->u.tex.level]; in nv30_miptree_surface_new()
413 ps->format = tmpl->format; in nv30_miptree_surface_new()
414 ps->usage = tmpl->usage; in nv30_miptree_surface_new()
415 ps->u.tex.level = tmpl->u.tex.level; in nv30_miptree_surface_new()
416 ps->u.tex.first_layer = tmpl->u.tex.first_layer; in nv30_miptree_surface_new()
417 ps->u.tex.last_layer = tmpl->u.tex.last_layer; in nv30_miptree_surface_new()