Added once again extended parameters to manager and sequence templates and reformatted

This commit is contained in:
Alejandro Saucedo 2020-08-29 16:03:01 +01:00
parent 2298159586
commit b9d210185b
8 changed files with 210 additions and 110 deletions

View file

@ -22,12 +22,11 @@ debugMessageCallback(VkDebugReportFlagsEXT flags,
}
#endif
Manager::Manager() : Manager(0)
{
Manager::Manager()
: Manager(0)
{}
}
Manager::Manager(uint32_t physicalDeviceIndex)
Manager::Manager(uint32_t physicalDeviceIndex)
{
this->mPhysicalDeviceIndex = physicalDeviceIndex;
// TODO: Moving this into a separate init
@ -36,9 +35,9 @@ Manager::Manager(uint32_t physicalDeviceIndex)
}
Manager::Manager(std::shared_ptr<vk::Instance> instance,
std::shared_ptr<vk::PhysicalDevice> physicalDevice,
std::shared_ptr<vk::Device> device,
uint32_t physicalDeviceIndex)
std::shared_ptr<vk::PhysicalDevice> physicalDevice,
std::shared_ptr<vk::Device> device,
uint32_t physicalDeviceIndex)
{
this->mInstance = instance;
this->mPhysicalDevice = physicalDevice;