intel: Make intel_miptree_get_tile_offsets return a page offset.
authorEric Anholt <eric@anholt.net>
Mon, 4 Feb 2013 18:00:10 +0000 (10:00 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 28 May 2013 19:40:00 +0000 (12:40 -0700)
commit5c85e1cf554803e61bfb30f2a8683422a3ead0e4
treec9f576299f89ed378cba02a32455fda242f6ccf2
parent4eaa0999b52d2c7a8fb561305eef889dc7de2d2f
intel: Make intel_miptree_get_tile_offsets return a page offset.

Right now, the callers in i965 don't expect a nonzero page offset to
actually occur (since that's being handled elsewhere), but it seems
like a trap to leave it this way.

Reviewed-and-tested-by: Ian Romanick <ian.d.romanick@intel.com>
Acked-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
src/mesa/drivers/dri/i965/gen7_wm_surface_state.c
src/mesa/drivers/dri/intel/intel_mipmap_tree.c
src/mesa/drivers/dri/intel/intel_mipmap_tree.h