aboutsummaryrefslogtreecommitdiff
path: root/layers/param_checker.cpp
diff options
context:
space:
mode:
authorCourtney Goeltzenleuchter <courtney@LunarG.com>2015-07-09 21:57:28 -0600
committerCourtney Goeltzenleuchter <courtney@LunarG.com>2015-07-17 10:05:19 -0600
commit9e016efe62abd37bb16febfde7f5bdc505a4a1e4 (patch)
tree527e5fe50bee5ef2349a54cac007f2f235c36d05 /layers/param_checker.cpp
parent194bf287e512a5ec9b85f1a821f88589d1ba5f71 (diff)
downloadusermoji-9e016efe62abd37bb16febfde7f5bdc505a4a1e4.tar.xz
bug-14184: Transient memory allocations
Diffstat (limited to 'layers/param_checker.cpp')
-rw-r--r--layers/param_checker.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/layers/param_checker.cpp b/layers/param_checker.cpp
index 49c1beaf..17ccad40 100644
--- a/layers/param_checker.cpp
+++ b/layers/param_checker.cpp
@@ -2537,6 +2537,16 @@ VK_LAYER_EXPORT VkResult VKAPI vkInvalidateMappedMemoryRanges(
return result;
}
+VK_LAYER_EXPORT VkResult VKAPI vkGetDeviceMemoryCommitment(
+ VkDevice device,
+ VkDeviceMemory memory,
+ VkDeviceSize* pCommittedMemoryInBytes)
+{
+ VkResult result = get_dispatch_table(pc_device_table_map, device)->GetDeviceMemoryCommitment(device, memory, pCommittedMemoryInBytes);
+
+ return result;
+}
+
bool PostBindBufferMemory(
VkDevice device,
VkBuffer buffer,