i965/wm: Use resolved miptree consistently in surface setup
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Wed, 12 Feb 2014 12:16:59 +0000 (14:16 +0200)
committerTopi Pohjolainen <topi.pohjolainen@intel.com>
Wed, 5 Mar 2014 08:19:19 +0000 (10:19 +0200)
commitafed5354aa7860483113722d2a810cccfa175474
tree5558f35866b646d891024fde35b38b8c6b087bd8
parent9b169a18939d1bde8db415a001b5c57259231546
i965/wm: Use resolved miptree consistently in surface setup

Most of the logic refers to the local variable 'mt' directly but
a few cases use 'intelObj->mt' instead. These are the same for
now but will be different once stencil miptree gets used.

v2 (Ian): fixed also indentation in surrounding lines

Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
src/mesa/drivers/dri/i965/gen7_wm_surface_state.c