projects
/
demo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rewriting swapchain/image/allocation parts
[demo]
/
src
/
vulkan
/
allocator.h
diff --git a/src/vulkan/allocator.h
b/src/vulkan/allocator.h
new file mode 100644
(file)
index 0000000..
dd730e3
--- /dev/null
+++ b/
src/vulkan/allocator.h
@@ -0,0
+1,9
@@
+#ifndef ALLOCATOR_H_
+#define ALLOCATOR_H_
+
+#include <vulkan/vulkan.h>
+
+VkDeviceMemory vk_allocate(int size);
+void vk_free(VkDeviceMemory gpu_memory);
+
+#endif // ALLOCATOR_H_