Reorder GPU quirks member to prevent it constructing after device init

This commit is contained in:
Billy Laws 2022-01-19 21:25:18 +00:00 committed by PixelyIon
parent 62db21fb78
commit 2253bc3151

View File

@ -25,12 +25,11 @@ namespace skyline::gpu {
vk::raii::DebugReportCallbackEXT vkDebugReportCallback; //!< An RAII Vulkan debug report manager which calls into 'GPU::DebugCallback' vk::raii::DebugReportCallbackEXT vkDebugReportCallback; //!< An RAII Vulkan debug report manager which calls into 'GPU::DebugCallback'
vk::raii::PhysicalDevice vkPhysicalDevice; vk::raii::PhysicalDevice vkPhysicalDevice;
u32 vkQueueFamilyIndex{}; u32 vkQueueFamilyIndex{};
QuirkManager quirks;
vk::raii::Device vkDevice; vk::raii::Device vkDevice;
std::mutex queueMutex; //!< Synchronizes access to the queue as it is externally synchronized std::mutex queueMutex; //!< Synchronizes access to the queue as it is externally synchronized
vk::raii::Queue vkQueue; //!< A Vulkan Queue supporting graphics and compute operations vk::raii::Queue vkQueue; //!< A Vulkan Queue supporting graphics and compute operations
QuirkManager quirks;
memory::MemoryManager memory; memory::MemoryManager memory;
CommandScheduler scheduler; CommandScheduler scheduler;
PresentationEngine presentation; PresentationEngine presentation;