X-Git-Url: https://eleni.mutantstargoat.com/git/?p=demo;a=blobdiff_plain;f=src%2Fvulkan%2Fallocator.h;fp=src%2Fvulkan%2Fallocator.h;h=dd730e34b9907ea71ef41a69294c4a2393c05f51;hp=0000000000000000000000000000000000000000;hb=8fb0cca684e078cd2537070c53ad970ebbc2e9a7;hpb=32feb79dc3b9ddeeab84a0329d53b8aaff86bb80 diff --git a/src/vulkan/allocator.h b/src/vulkan/allocator.h new file mode 100644 index 0000000..dd730e3 --- /dev/null +++ b/src/vulkan/allocator.h @@ -0,0 +1,9 @@ +#ifndef ALLOCATOR_H_ +#define ALLOCATOR_H_ + +#include + +VkDeviceMemory vk_allocate(int size); +void vk_free(VkDeviceMemory gpu_memory); + +#endif // ALLOCATOR_H_