Skip to content

anv/image: Use align_u64 for image offsets

Faith Ekstrand requested to merge gfxstrand/mesa:review/anv-fix-m32 into master

The ALIGN functions in util/u_math.h work on uintptr_t whose size changes depending on your platform. Use ones which take an explicit 64-bit type instead to avoid 32-bit platform issues.

Reported-by: Mark Janes mark.a.janes@intel.com

Merge request reports