Lines Matching refs:base
137 struct pipe_resource base;
144 memset(&base, 0, sizeof(base));
145 base.target = PIPE_TEXTURE_2D;
146 base.format = texture->format;
147 base.width0 = box->width;
148 base.height0 = box->height;
149 base.depth0 = 1;
150 base.array_size = 1;
151 base.usage = PIPE_USAGE_STAGING;
152 base.flags = R300_RESOURCE_FLAG_TRANSFER;
156 base.target = texture->target;
158 if (base.target == PIPE_TEXTURE_3D) {
159 base.depth0 = util_next_power_of_two(box->depth);
166 &base));
175 &base));