aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Barbour <tony@LunarG.com>2016-12-15 12:12:29 -0700
committerTony Barbour <tony@LunarG.com>2016-12-15 14:17:05 -0700
commitbf1e370430a4c55e8157a9cc8622cc8ed442002a (patch)
tree97133887870c7188b2d14bff9a9aeac469e1e0fe
parent6bbdb6f380e71d5db2d482bdd7380f5d3754c10b (diff)
downloadusermoji-bf1e370430a4c55e8157a9cc8622cc8ed442002a.tar.xz
layers: Remove check for nonCoherentAtomSize
It's come to our attention that this check, while matching the spec, may be a little overzealous and could cause a lot of existing code to start failing validation. We plan to address this with the spec working group, and we're removing the check for now. Change-Id: I7159b72fe0a2e81bf75bccddc9939da7086992b7
-rw-r--r--layers/core_validation.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp
index b663ce45..54ad2b33 100644
--- a/layers/core_validation.cpp
+++ b/layers/core_validation.cpp
@@ -11460,7 +11460,6 @@ static bool PreCallValidateFlushMappedMemoryRanges(layer_data *dev_data, uint32_
const VkMappedMemoryRange *mem_ranges) {
bool skip = false;
std::lock_guard<std::mutex> lock(global_lock);
- skip |= ValidateMappedMemoryRangeDeviceLimits(dev_data, "vkFlushMappedMemoryRanges", mem_range_count, mem_ranges);
skip |= ValidateAndCopyNoncoherentMemoryToDriver(dev_data, mem_range_count, mem_ranges);
skip |= validateMemoryIsMapped(dev_data, "vkFlushMappedMemoryRanges", mem_range_count, mem_ranges);
return skip;
@@ -11481,7 +11480,6 @@ static bool PreCallValidateInvalidateMappedMemoryRanges(layer_data *dev_data, ui
const VkMappedMemoryRange *mem_ranges) {
bool skip = false;
std::lock_guard<std::mutex> lock(global_lock);
- skip |= ValidateMappedMemoryRangeDeviceLimits(dev_data, "vkInvalidateMappedMemoryRanges", mem_range_count, mem_ranges);
skip |= validateMemoryIsMapped(dev_data, "vkInvalidateMappedMemoryRanges", mem_range_count, mem_ranges);
return skip;
}