bug-14184: Transient memory allocations
diff --git a/loader/trampoline.c b/loader/trampoline.c
index 13d4e68..0e10274 100644
--- a/loader/trampoline.c
+++ b/loader/trampoline.c
@@ -420,6 +420,15 @@
return disp->InvalidateMappedMemoryRanges(device, memRangeCount, pMemRanges);
}
+LOADER_EXPORT VkResult VKAPI vkGetDeviceMemoryCommitment(VkDevice device, VkDeviceMemory memory, VkDeviceSize* pCommittedMemoryInBytes)
+{
+ const VkLayerDispatchTable *disp;
+
+ disp = loader_get_dispatch(device);
+
+ return disp->GetDeviceMemoryCommitment(device, memory, pCommittedMemoryInBytes);
+}
+
LOADER_EXPORT VkResult VKAPI vkGetBufferMemoryRequirements(VkDevice device, VkBuffer buffer, VkMemoryRequirements* pMemoryRequirements)
{
const VkLayerDispatchTable *disp;