summaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_device.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-09-04 11:14:03 -0700
committerJason Ekstrand <[email protected]>2015-09-04 17:55:42 -0700
commit06d8fd58818c4574ba233edb4566509577d79dd0 (patch)
treeb5cbe0d877c37fbe4f9ecd3065a42c326b57bf42 /src/vulkan/anv_device.c
parentc0b97577e8900b46349c2b831784bf63b94eeee1 (diff)
vk/instance: Expose anv_instance_alloc/free
Diffstat (limited to 'src/vulkan/anv_device.c')
-rw-r--r--src/vulkan/anv_device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vulkan/anv_device.c b/src/vulkan/anv_device.c
index 7ae11d6560b..0df1bbeda3c 100644
--- a/src/vulkan/anv_device.c
+++ b/src/vulkan/anv_device.c
@@ -158,7 +158,7 @@ VkResult anv_DestroyInstance(
return VK_SUCCESS;
}
-static void *
+void *
anv_instance_alloc(struct anv_instance *instance, size_t size,
size_t alignment, VkSystemAllocType allocType)
{
@@ -171,7 +171,7 @@ anv_instance_alloc(struct anv_instance *instance, size_t size,
return mem;
}
-static void
+void
anv_instance_free(struct anv_instance *instance, void *mem)
{
if (mem == NULL)