Lines Matching defs:surf_tmpl
542 struct pipe_surface surf_tmpl;
543 memset(&surf_tmpl, 0, sizeof(surf_tmpl));
544 surf_tmpl.format = surf->format;
545 surf_tmpl.nr_samples = rb->rtt_nr_samples;
546 surf_tmpl.u.tex.level = surf->u.tex.level;
547 surf_tmpl.u.tex.first_layer = surf->u.tex.first_layer;
548 surf_tmpl.u.tex.last_layer = surf->u.tex.last_layer;
551 surf = pipe->create_surface(pipe, resource, &surf_tmpl);
647 struct pipe_surface surf_tmpl;
648 memset(&surf_tmpl, 0, sizeof(surf_tmpl));
649 surf_tmpl.format = format;
650 surf_tmpl.nr_samples = rb->rtt_nr_samples;
651 surf_tmpl.u.tex.level = level;
652 surf_tmpl.u.tex.first_layer = first_layer;
653 surf_tmpl.u.tex.last_layer = last_layer;
656 struct pipe_surface *surf = pipe->create_surface(pipe, resource, &surf_tmpl);