i965/fs: Import code to transform image coordinates into surface coordinates.
authorFrancisco Jerez <currojerez@riseup.net>
Thu, 23 Jul 2015 16:32:08 +0000 (19:32 +0300)
committerFrancisco Jerez <currojerez@riseup.net>
Tue, 11 Aug 2015 12:07:39 +0000 (15:07 +0300)
commit86dbd8af40deaa99aedf011e863b908173e63012
tree4d736bdd65812c4a7aca5af430a4fa8ba823eda9
parent1a37619763a99b78aa574aca0058eda86de7a0dc
i965/fs: Import code to transform image coordinates into surface coordinates.

Accounting for the padding required for 1D arrays in certain cases.

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/drivers/dri/i965/brw_fs_surface_builder.cpp