i965: Stop recomputing the miptree's size from the texture image.
authorEric Anholt <eric@anholt.net>
Wed, 19 Jun 2013 21:08:29 +0000 (14:08 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 26 Jun 2013 08:07:12 +0000 (01:07 -0700)
commit88514d922e4e392ec82ea8ab2ecb5bf0d2317c4f
treef61da8dcd53f3bba82a7a200481d4ec1c7b03d4c
parent820325b258b6531377ec34840193c64bfa10fc36
i965: Stop recomputing the miptree's size from the texture image.

We've already computed what the dimensions of the miptree are, and stored
it in the miptree.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
src/mesa/drivers/dri/i965/gen7_wm_surface_state.c