clang-format

This commit is contained in:
Guillaume Meunier
2024-03-30 17:00:34 +01:00
parent bb660cfb3f
commit 9cceaac648
122 changed files with 2904 additions and 2783 deletions
+6 -7
View File
@@ -18,13 +18,13 @@
#pragma once
#include "application.h"
#include "utils/alignment.h"
#include "vk/allocation.h"
#include <fastgltf/tools.hpp>
#include <fastgltf/types.hpp>
#include <vector>
#include <vulkan/vulkan.hpp>
#include <fastgltf/types.hpp>
#include <fastgltf/tools.hpp>
#include "application.h"
#include "vk/allocation.h"
#include "utils/alignment.h"
class gpu_buffer
{
@@ -125,8 +125,7 @@ public:
VmaAllocationCreateInfo{
.flags = VMA_ALLOCATION_CREATE_HOST_ACCESS_SEQUENTIAL_WRITE_BIT,
.usage = VMA_MEMORY_USAGE_AUTO},
"gpu_buffer::copy_to_gpu"
};
"gpu_buffer::copy_to_gpu"};
memcpy(gpu_buffer.map(), bytes.data(), bytes.size());
gpu_buffer.unmap();