diff options
author | Jason Ekstrand <[email protected]> | 2016-03-30 16:15:54 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-04-08 15:57:58 -0700 |
commit | b37502b9832f02626b0caca22500b46ebbbe8007 (patch) | |
tree | 522de991713267d1351cac6b17b992784dde7278 /include/c99_math.h | |
parent | 4caba940869602b750e21a444523b068b1bea339 (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 <[email protected]>
Diffstat (limited to 'include/c99_math.h')
0 files changed, 0 insertions, 0 deletions