Lines Matching defs:surf
540 struct pipe_surface *surf = *psurf;
544 surf_tmpl.format = surf->format;
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);
553 *psurf = surf;
633 struct pipe_surface *surf = *psurf;
635 if (!surf ||
636 surf->texture->nr_samples != rb->NumSamples ||
637 surf->texture->nr_storage_samples != rb->NumStorageSamples ||
638 surf->format != format ||
639 surf->texture != resource ||
640 surf->width != rtt_width ||
641 surf->height != rtt_height ||
642 surf->nr_samples != rb->rtt_nr_samples ||
643 surf->u.tex.level != level ||
644 surf->u.tex.first_layer != first_layer ||
645 surf->u.tex.last_layer != last_layer) {
656 struct pipe_surface *surf = pipe->create_surface(pipe, resource, &surf_tmpl);
658 *psurf = surf;