|
|
@ -418,6 +418,10 @@ int main(void) |
|
|
|
printf("Successfully allocated memory on device\n"); |
|
|
|
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); |
|
|
|
vkFreeMemory(vk_logdev, mem, NULL); |
|
|
|
|
|
|
|
|
|
|
|
vk_logical_device_destroy(vk_logdev); |
|
|
|
vk_logical_device_destroy(vk_logdev); |
|
|
@ -426,3 +430,4 @@ int main(void) |
|
|
|
|
|
|
|
|
|
|
|
return EXIT_SUCCESS; |
|
|
|
return EXIT_SUCCESS; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|