Lines Matching defs:plane
572 struct pipe_resource *resource, unsigned plane, unsigned layer,
577 while (plane && resource->next && !si_texture_is_aux_plane(resource->next)) {
578 --plane;
601 &tex->surface, plane, level);
610 &tex->surface, plane, layer) + level_offset;
674 unsigned plane = whandle->plane;
677 while (plane && resource->next && !si_texture_is_aux_plane(resource->next)) {
679 --plane;
696 if (plane) {
700 &tex->surface, plane, 0);
702 &tex->surface, plane, 0);
907 * \param plane0 if a non-zero plane is being created, this is the first plane
1023 /* The buffer is shared with the first plane. */
1288 /* Compute texture or plane layouts and offsets. */
1295 /* Multi-plane allocations need PIPE_BIND_SHARED, because we can't
1603 unsigned plane = 1;
1606 if (plane >= nplanes || ptex->buffer != tex->buffer.buf ||
1608 &tex->surface, plane, 0) ||
1610 &tex->surface, plane, 0)) {
1614 ++plane;
1618 if (plane != nplanes && tex->num_planes == 1) {
1672 if (whandle->plane >= util_format_get_num_planes(whandle->format)) {
1702 /* Save memory by not allocating the S plane. */