Lines Matching defs:surf_tmpl
281 const struct pipe_surface *surf_tmpl)
285 assert(surf_tmpl->u.tex.first_layer == surf_tmpl->u.tex.last_layer);
288 assert(surf_tmpl->u.tex.first_layer == 0);
295 ps->format = surf_tmpl->format;
296 ps->width = u_minify(pt->width0, surf_tmpl->u.tex.level);
297 ps->height = u_minify(pt->height0, surf_tmpl->u.tex.level);
298 ps->u.tex.level = surf_tmpl->u.tex.level;
299 ps->u.tex.first_layer = surf_tmpl->u.tex.first_layer;
300 ps->u.tex.last_layer = surf_tmpl->u.tex.last_layer;
301 ps->usage = surf_tmpl->usage;