ilo: refactor transfer mapping
authorChia-I Wu <olvaffe@gmail.com>
Wed, 15 May 2013 00:51:16 +0000 (08:51 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Wed, 15 May 2013 07:21:50 +0000 (15:21 +0800)
commitb6c307744f01c40cdaa128318db7229261a3186e
tree750efdd8b550163b7e3036ebe023f7b6f88853ce
parent5af8641ce0d1d725d5eb1df83c8211d2cdbe528c
ilo: refactor transfer mapping

Add tex_get_box_offset() to compute transfer offet from the pipe_box.  Add
tex_get_slice_stride() to compute slice stride for a transfer.
src/gallium/drivers/ilo/ilo_transfer.c