i965/blorp: Move intratile offset calculations out of surface state setup
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 24 Jun 2016 01:40:08 +0000 (18:40 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 17 Aug 2016 21:46:22 +0000 (14:46 -0700)
commite046a4646090aa6b96664d128af70fd36cc2e065
treeefdafbccfd7602977f0deacca7ba1d2ebd464592
parent27a58615d3c35aefd7d94457ca175facb309073c
i965/blorp: Move intratile offset calculations out of surface state setup

Previously we multiplied full x/y offsets, resolved tile aligned buffer
offset and intra tile offset based on that.  Now we let ISL to take into
account the msaa setting and we only multiply the resolved intra tile
offsets.

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/brw_blorp.c
src/mesa/drivers/dri/i965/brw_blorp.h
src/mesa/drivers/dri/i965/brw_blorp_blit.cpp