X-Git-Url: http://git.mutantstargoat.com?p=demo;a=blobdiff_plain;f=src%2Fvulkan%2Fallocator.h;h=4f4fd5314b368d618efbe295b78064f40bec46c4;hp=ad4c87fc9294159bb91a53457f8c1909b06a9bc5;hb=c3d7c1b7f8a7f4bcfc7661b6baf166ce0648083a;hpb=d90ed8aef9e3547eee75ad793c352ee022d35050 diff --git a/src/vulkan/allocator.h b/src/vulkan/allocator.h index ad4c87f..4f4fd53 100644 --- a/src/vulkan/allocator.h +++ b/src/vulkan/allocator.h @@ -12,4 +12,6 @@ struct DevMemBlock { bool vku_allocate(int size, DevMemBlock *block); void vku_free(VkDeviceMemory gpu_memory); +bool vku_write_memory(VkDeviceMemory gpu_mem, int size, void *data); + #endif // ALLOCATOR_H_