|
|
@ -1,10 +1,10 @@ |
|
|
|
#include <vector> |
|
|
|
#include <vector> |
|
|
|
#include <cstring> |
|
|
|
#include <cstring> |
|
|
|
#include "buffer.hpp" |
|
|
|
#include "vulkan/buffer.hpp" |
|
|
|
#include "vertex.hpp" |
|
|
|
#include "vulkan/vertex.hpp" |
|
|
|
#include "instance.hpp" |
|
|
|
#include "vulkan/instance.hpp" |
|
|
|
#include "command_pool.hpp" |
|
|
|
#include "vulkan/command_pool.hpp" |
|
|
|
#include "utils.h" |
|
|
|
#include "vulkan/utils.h" |
|
|
|
|
|
|
|
|
|
|
|
Buffer::Buffer(VkDeviceSize size, VkBufferUsageFlags usage, VkMemoryPropertyFlags properties) : size(size){ |
|
|
|
Buffer::Buffer(VkDeviceSize size, VkBufferUsageFlags usage, VkMemoryPropertyFlags properties) : size(size){ |
|
|
|
VkBufferCreateInfo bufferInfo{}; |
|
|
|
VkBufferCreateInfo bufferInfo{}; |
|
|
|