aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Elliott <ian@LunarG.com>2015-04-17 10:04:00 -0600
committerIan Elliott <ian@LunarG.com>2015-04-17 10:04:00 -0600
commit39173430d71bd4d2ac967af8fc9b3a6d26318679 (patch)
treea4acf6e9de95a38d7f6be6cf51b37afd14d54776
parent310d7aaa566c1c8ecba6378eb9f77f917843a815 (diff)
downloadusermoji-39173430d71bd4d2ac967af8fc9b3a6d26318679.tar.xz
nulldrv: Get compiling on Windows again.
-rw-r--r--icd/nulldrv/VK_nulldrv.def1
-rw-r--r--icd/nulldrv/nulldrv.c9
2 files changed, 9 insertions, 1 deletions
diff --git a/icd/nulldrv/VK_nulldrv.def b/icd/nulldrv/VK_nulldrv.def
index a2d0167d..ea31f6db 100644
--- a/icd/nulldrv/VK_nulldrv.def
+++ b/icd/nulldrv/VK_nulldrv.def
@@ -28,7 +28,6 @@ LIBRARY VK_nulldrv
EXPORTS
vkGetProcAddr
vkCreateInstance
- vkEnumerateGpus
vkDestroyInstance
vkGetGlobalExtensionInfo
xcbCreateWindow
diff --git a/icd/nulldrv/nulldrv.c b/icd/nulldrv/nulldrv.c
index e704908b..5629958a 100644
--- a/icd/nulldrv/nulldrv.c
+++ b/icd/nulldrv/nulldrv.c
@@ -1498,6 +1498,15 @@ ICD_EXPORT VkResult VKAPI vkUnmapMemory(
return VK_SUCCESS;
}
+ICD_EXPORT VkResult VKAPI vkFlushMappedMemory(
+ VkDeviceMemory mem_,
+ VkDeviceSize offset,
+ VkDeviceSize size)
+{
+ NULLDRV_LOG_FUNC;
+ return VK_SUCCESS;
+}
+
ICD_EXPORT VkResult VKAPI vkPinSystemMemory(
VkDevice device,
const void* pSysMem,