Addded depenendency load tool

Added simple python script that will load needed libraries into
the project folder structure. Most libraries are now not needed to be
present in development system.
This commit is contained in:
Piotr Krygier committed 2023-08-07 13:48:30 +02:00
1 parent 320c9293b1
commit a82550d414
18 files changed
+1992 -19594

No files matched your search

+21 -17
View File
@@ -9,23 +9,27 @@ namespace rse::graphics
RseGraphics::RseGraphics()
{
vulkan_state = {
.graphicsQueue = VK_NULL_HANDLE,
.physicalDevice = VK_NULL_HANDLE,
.currentFrame = 0U,
.queueFamilyIndices = {0U}, /* TODO: Change when more families are needed */
.uniformBuffers = {},
.pCommandBuffers = {},
.descriptorSets = {},
.swapChainImageViews = {},
.swapchainExtent = {},
.renderPass = VK_NULL_HANDLE,
.descriptorSetLayout = VK_NULL_HANDLE,
.swapchainFramebuffers = {},
.graphicsPipeline = VK_NULL_HANDLE,
.pipelineLayout = VK_NULL_HANDLE,
.swapchain = VK_NULL_HANDLE,
};
vulkan_state = new vulkanbase::VulkanState;
vulkan_state->graphicsQueue = VK_NULL_HANDLE;
vulkan_state->physicalDevice = VK_NULL_HANDLE;
vulkan_state->currentFrame = 0U;
// vulkan_state->queueFamilyIndices = {0U}; /* TODO: Change when more families are needed */
vulkan_state->uniformBuffers = {};
vulkan_state->pCommandBuffers = {};
vulkan_state->descriptorSets = {};
vulkan_state->swapChainImageViews = {};
vulkan_state->swapchainExtent = {};
vulkan_state->renderPass = VK_NULL_HANDLE;
vulkan_state->descriptorSetLayout = VK_NULL_HANDLE;
vulkan_state->swapchainFramebuffers = {};
vulkan_state->graphicsPipeline = VK_NULL_HANDLE;
vulkan_state->pipelineLayout = VK_NULL_HANDLE;
vulkan_state->swapchain = VK_NULL_HANDLE;
}
RseGraphics::~RseGraphics()
{
delete vulkan_state;
}
+1 -1
View File
@@ -24,7 +24,7 @@
#pragma GCC diagnostic ignored "-Wswitch"
#pragma GCC diagnostic ignored "-Wparentheses"
#define VMA_IMPLEMENTATION
#include "third_party/vma/vk_mem_alloc.h"
#include "vk_mem_alloc.h"
#pragma GCC diagnostic pop
#include "locale_vulkan.hpp"
+1 -1
View File
@@ -5,7 +5,7 @@
#include <vector>
#include <vulkan/vulkan.hpp>
#include "third_party/vma/vk_mem_alloc.h"
#include "vk_mem_alloc.h"
#include "vulkan_commons.hpp"
+3 -1
View File
@@ -13,9 +13,11 @@
#define RSE_VULKAN_GLOBAL_HPP
#include <vulkan/vulkan.hpp>
#pragma GCC diagnostic ignored "-Wvolatile"
#include <glm/glm.hpp>
#pragma GCC diagnostic pop
#include "third_party/vma/vk_mem_alloc.h"
#include "vk_mem_alloc.h"
#define SWAP_BUFFER_COUNT 2U