|
|
|
@ -418,6 +418,10 @@ int main(void) |
|
|
|
|
printf("Successfully allocated memory on device\n"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// TODO: create buffers with vkCreateBuffer and VkCreateBufferInfo
|
|
|
|
|
// TODO: bind the buffer to the allocated memory with vkBindBufferMemory
|
|
|
|
|
// TODO: actually use that memory
|
|
|
|
|
|
|
|
|
|
vkFreeMemory(vk_logdev, mem, NULL); |
|
|
|
|
|
|
|
|
|
vk_logical_device_destroy(vk_logdev); |
|
|
|
@ -425,4 +429,5 @@ int main(void) |
|
|
|
|
vk_destroy(vk_instance); |
|
|
|
|
|
|
|
|
|
return EXIT_SUCCESS; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|