summaryrefslogtreecommitdiffstats
path: root/include/c99_math.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-03-30 16:15:54 -0700
committerJason Ekstrand <[email protected]>2016-04-08 15:57:58 -0700
commitb37502b9832f02626b0caca22500b46ebbbe8007 (patch)
tree522de991713267d1351cac6b17b992784dde7278 /include/c99_math.h
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 <[email protected]>
Diffstat (limited to 'include/c99_math.h')
0 files changed, 0 insertions, 0 deletions