bug-13690: Clarification on vkFlushMappedMemory
Bug 13690 - Clarification on the behavior of vkFlushMappedMemory
svn ID: 30914 & 30888
diff --git a/vulkan.py b/vulkan.py
index 7aad8c9..96c46e1 100755
--- a/vulkan.py
+++ b/vulkan.py
@@ -321,11 +321,15 @@
[Param("VkDevice", "device"),
Param("VkDeviceMemory", "mem")]),
- Proto("VkResult", "FlushMappedMemory",
+ Proto("VkResult", "FlushMappedMemoryRanges",
[Param("VkDevice", "device"),
- Param("VkDeviceMemory", "mem"),
- Param("VkDeviceSize", "offset"),
- Param("VkDeviceSize", "size")]),
+ Param("uint32_t", "memRangeCount"),
+ Param("const VkMappedMemoryRange*", "pMemRanges")]),
+
+ Proto("VkResult", "InvalidateMappedMemoryRanges",
+ [Param("VkDevice", "device"),
+ Param("uint32_t", "memRangeCount"),
+ Param("const VkMappedMemoryRange*", "pMemRanges")]),
Proto("VkResult", "PinSystemMemory",
[Param("VkDevice", "device"),