intel/blorp: Use the surface format for computing offsets
authorJason Ekstrand <jason.ekstrand@intel.com>
Sun, 28 Aug 2016 05:44:15 +0000 (22:44 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 13 Sep 2016 02:42:57 +0000 (19:42 -0700)
commitec7e0d62c5fe5b17e833c7ab91d0b753f0d02918
treea6c04d135fcde2ed8f96ad6e3512b574346c0ff2
parent7f2fecd11463da9d90a83ad65544271b35cd0d83
intel/blorp: Use the surface format for computing offsets

If we use the view format, it may be an uncompressed view of a compressed
image which throws things off.  Since we're computing offsets of images, we
want the actual surface offset anyway.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/intel/blorp/blorp_blit.c