aboutsummaryrefslogtreecommitdiff
path: root/vulkan.py
diff options
context:
space:
mode:
authorCourtney Goeltzenleuchter <courtney@LunarG.com>2015-04-29 17:16:21 -0600
committerCourtney Goeltzenleuchter <courtney@LunarG.com>2015-05-01 17:26:57 -0600
commit2bda8330c5bf332db9b0560ea358af6564116de7 (patch)
tree20659cd12b05374572131ca42ac90ba93a9eee24 /vulkan.py
parent605dbeb0730baa0527c0866d425ef96302c7993c (diff)
downloadusermoji-2bda8330c5bf332db9b0560ea358af6564116de7.tar.xz
bug-13690: Clarification on vkFlushMappedMemory
Bug 13690 - Clarification on the behavior of vkFlushMappedMemory svn ID: 30914 & 30888
Diffstat (limited to 'vulkan.py')
-rwxr-xr-xvulkan.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/vulkan.py b/vulkan.py
index 7aad8c93..96c46e1b 100755
--- a/vulkan.py
+++ b/vulkan.py
@@ -321,11 +321,15 @@ core = Extension(
[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"),