Lines Matching defs:template
1523 struct pipe_surface template;
1525 memset(&template, 0, sizeof(struct pipe_surface));
1527 template.format = pformat;
1528 template.width = width;
1529 template.height = height;
1530 template.u.tex.first_layer = range->baseArrayLayer + base_layer;
1531 template.u.tex.last_layer = range->baseArrayLayer + base_layer + layer_count - 1;
1532 template.u.tex.level = range->baseMipLevel + level;
1534 if (template.format == PIPE_FORMAT_NONE)
1537 bo, &template);