Lines Matching defs:box
352 * \param box the 1D/2D/3D region of interest
359 const struct pipe_box *box,
373 assert(box->x + box->width <= (int) u_minify(resource->width0, level));
375 assert(box->y + box->height <= (int) resource->array_size);
378 assert(box->y + box->height <= (int) u_minify(resource->height0, level));
380 assert(box->z + box->depth <= (int) resource->array_size);
383 assert(box->z < 6);
386 assert(box->z <= (int) resource->array_size);
389 assert(box->z + box->depth <= (int) u_minify(resource->depth0, level));
401 level, box->depth > 1 ? -1 : box->z,
423 pt->box = *box;
427 spt->offset = softpipe_get_tex_image_offset(spr, level, box->z);
430 box->y / util_format_get_blockheight(format) * spt->base.stride +
431 box->x / util_format_get_blockwidth(format) * util_format_get_blocksize(format);