Add Linux support
- Add linux build system using MakeGen - Fix a swapchain validation error, likelydue to my linux system using a different vulkan version - Make DescriptorPool take in amount of descriptors it needs, instead of allocating a mass amount for every pool, causing loads of RAM/VRAM usage
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#include "copium/core/QueueFamilies.h"
|
||||
#include "copium/util/Common.h"
|
||||
|
||||
#include <vulkan/vulkan.hpp>
|
||||
@@ -16,7 +15,7 @@ namespace Copium
|
||||
public:
|
||||
Device();
|
||||
~Device();
|
||||
|
||||
|
||||
uint32_t GetGraphicsQueueFamily() const;
|
||||
uint32_t GetPresentQueueFamily() const;
|
||||
VkQueue GetGraphicsQueue() const;
|
||||
@@ -51,4 +50,4 @@ namespace Copium
|
||||
bool CheckDeviceExtensionSupport(VkPhysicalDevice device);
|
||||
std::vector<const char*> GetRequiredDeviceExtensions();
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user