summaryrefslogtreecommitdiffstats
path: root/src/intel/isl/tests
diff options
context:
space:
mode:
authorJason Ekstrand <jason.ekstrand@intel.com>2016-03-30 16:15:54 -0700
committerJason Ekstrand <jason.ekstrand@intel.com>2016-04-08 15:57:58 -0700
commitb37502b9832f02626b0caca22500b46ebbbe8007 (patch)
tree522de991713267d1351cac6b17b992784dde7278 /src/intel/isl/tests
parent4caba940869602b750e21a444523b068b1bea339 (diff)
isl: Rework the get_intratile_offset function
The old function tried to work in elements which isn't, strictly speaking, a valid thing to do. In the case of a non-power-of-two format, there is no guarantee that the x offset into the tile is a multiple of the format block size. This commit refactors it to work entirely in terms of a tiling (not a surface) and bytes/rows. Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
Diffstat (limited to 'src/intel/isl/tests')
0 files changed, 0 insertions, 0 deletions