layers: Validate against nonCoherentAtomSize
authorTony Barbour <tony@LunarG.com>
Thu, 19 Apr 2018 17:41:36 +0000 (11:41 -0600)
committerTony-LunarG <tony@lunarg.com>
Fri, 20 Apr 2018 16:14:20 +0000 (10:14 -0600)
commit99b0d0c37e6e014272397756b1ae13034aa9fc0b
treed91c6b2bae8e9c7167fc2e7d0ebacb6c892bed10
parentac70234a5e4d8299ed1c8a5bb90227b57675387d
layers: Validate against nonCoherentAtomSize

FlushMappedMemoryRanges and InvalidateMappedMemoryRanges check
size and offset against nonCoherentAtomSize.
Github issues 329 & 2584
Gitlab Issue 611

Change-Id: I4cbc6c21f6fe4b6187b381b2565a90c61417bee5
layers/core_validation.cpp
layers/vk_validation_error_database.txt