layers: GH820, MapMemory shadow copy alignment
authorMark Lobodzinski <mark@lunarg.com>
Mon, 15 Aug 2016 20:27:26 +0000 (14:27 -0600)
committerMark Lobodzinski <mark@lunarg.com>
Fri, 19 Aug 2016 14:50:43 +0000 (08:50 -0600)
commit7c74e2bc1b0a716452832cbc58e207e0f67a6364
treedc6b51155af82b5b4be2a626e3160e41a77af92a
parent669534d167a89560ef11e1dbb7b18c768b1614b2
layers: GH820, MapMemory shadow copy alignment

For host-visible non-coherent memory, the validation layers use a
shadow copy of the mapped memory region. Added proper alignment
for the shadow copy, fixed handling of offsets, and implemented
resolve of the shadow data on invalidate calls.

Change-Id: I88815799865d3a30c76e16cf96ace630e1bbcf2d
layers/core_validation.cpp
layers/core_validation_types.h