Home | History | Annotate | Download | only in util

Lines Matching defs:surf_tmpl

1516    struct pipe_surface *srcsurf, *dstsurf, surf_tmpl;
1529 memset(&surf_tmpl, 0, sizeof(surf_tmpl));
1530 surf_tmpl.format = dst->format;
1531 surf_tmpl.u.tex.level = dst_level;
1532 surf_tmpl.u.tex.first_layer = dst_layer;
1533 surf_tmpl.u.tex.last_layer = dst_layer;
1534 surf_tmpl.usage = PIPE_BIND_RENDER_TARGET;
1536 dstsurf = pipe->create_surface(pipe, dst, &surf_tmpl);
1538 surf_tmpl.u.tex.level = 0;
1539 surf_tmpl.u.tex.first_layer = src_layer;
1540 surf_tmpl.u.tex.last_layer = src_layer;
1542 srcsurf = pipe->create_surface(pipe, src, &surf_tmpl);