diff options
| author | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-04-29 17:16:21 -0600 |
|---|---|---|
| committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-05-01 17:26:57 -0600 |
| commit | 2bda8330c5bf332db9b0560ea358af6564116de7 (patch) | |
| tree | 20659cd12b05374572131ca42ac90ba93a9eee24 /layers/param_checker.cpp | |
| parent | 605dbeb0730baa0527c0866d425ef96302c7993c (diff) | |
| download | usermoji-2bda8330c5bf332db9b0560ea358af6564116de7.tar.xz | |
bug-13690: Clarification on vkFlushMappedMemory
Bug 13690 - Clarification on the behavior of vkFlushMappedMemory
svn ID: 30914 & 30888
Diffstat (limited to 'layers/param_checker.cpp')
| -rw-r--r-- | layers/param_checker.cpp | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/layers/param_checker.cpp b/layers/param_checker.cpp index f7807142..01328bf1 100644 --- a/layers/param_checker.cpp +++ b/layers/param_checker.cpp @@ -413,10 +413,23 @@ VK_LAYER_EXPORT VkResult VKAPI vkUnmapMemory(VkDevice device, VkDeviceMemory mem return result; } -VK_LAYER_EXPORT VkResult VKAPI vkFlushMappedMemory(VkDevice device, VkDeviceMemory mem, VkDeviceSize offset, VkDeviceSize size) +VK_LAYER_EXPORT VkResult VKAPI vkFlushMappedMemoryRanges( + VkDevice device, + uint32_t memRangeCount, + const VkMappedMemoryRange* pMemRanges) { - VkResult result = nextTable.FlushMappedMemory(device, mem, offset, size); + VkResult result = nextTable.FlushMappedMemoryRanges(device, memRangeCount, pMemRanges); + return result; +} + +VK_LAYER_EXPORT VkResult VKAPI vkInvalidateMappedMemoryRanges( + VkDevice device, + uint32_t memRangeCount, + const VkMappedMemoryRange* pMemRanges) +{ + + VkResult result = nextTable.InvalidateMappedMemoryRanges(device, memRangeCount, pMemRanges); return result; } |
