intel: pass zslice to intel_miptree_image_offset()
authorBrian Paul <brianp@vmware.com>
Mon, 12 Oct 2009 23:37:06 +0000 (17:37 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 13 Oct 2009 00:12:00 +0000 (18:12 -0600)
commite6594a22f298833eeb6881795b24d03d2fd8e898
tree02012d0fc7c5334244309441a1d117f3a0810836
parent15d2ef602461ca75e7160af46a2b5040742a91c9
intel: pass zslice to intel_miptree_image_offset()

This lets us get rid of intel_miptree_depth_offsets() and simplify all
of the calling code.
src/mesa/drivers/dri/i915/i830_texstate.c
src/mesa/drivers/dri/i915/i915_texstate.c
src/mesa/drivers/dri/intel/intel_fbo.c
src/mesa/drivers/dri/intel/intel_mipmap_tree.c
src/mesa/drivers/dri/intel/intel_mipmap_tree.h
src/mesa/drivers/dri/intel/intel_tex_copy.c
src/mesa/drivers/dri/intel/intel_tex_image.c