Home | History | Annotate | Download | only in softpipe

Lines Matching refs:box

351  * \param box  the 1D/2D/3D region of interest
358 const struct pipe_box *box,
372 assert(box->x + box->width <= (int) u_minify(resource->width0, level));
374 assert(box->y + box->height <= (int) resource->array_size);
377 assert(box->y + box->height <= (int) u_minify(resource->height0, level));
379 assert(box->z + box->depth <= (int) resource->array_size);
382 assert(box->z < 6);
385 assert(box->z <= (int) resource->array_size);
388 assert(box->z + box->depth <= (int) u_minify(resource->depth0, level));
400 level, box->depth > 1 ? -1 : box->z,
422 pt->box = *box;
426 spt->offset = softpipe_get_tex_image_offset(spr, level, box->z);
429 box->y / util_format_get_blockheight(format) * spt->base.stride +
430 box->x / util_format_get_blockwidth(format) * util_format_get_blocksize(format);