commit | f076d5330dca4b7a882de17853d6aedccb4e50ad | [log] [tgz] |
---|---|---|
author | Jason Ekstrand <jason.ekstrand@intel.com> | Fri Jan 01 09:26:06 2016 -0800 |
committer | Jason Ekstrand <jason.ekstrand@intel.com> | Fri Jan 01 09:29:29 2016 -0800 |
tree | bd1ef62e98e756b6101b552cf7f9dbdf111bcefa | |
parent | 6b5cbdb317c770b7cf767bc95b3ed79f01b10cf9 [diff] |
anv/device: Handle non-4k-aligned calls to MapMemory As per the spec: minMemoryMapAlignment is the minimum required alignment, in bytes, of host-visible memory allocations within the host address space. When mapping a memory allocation with vkMapMemory, subtracting offset bytes from the returned pointer will always produce a multiple of the value of this limit.