|
|
@@ -589,7 +589,7 @@ struct VulkanDummy {
|
|
|
if(c.currentExtent.width != 0xFFFF'FFFFu &&
|
|
|
c.currentExtent.height != 0xFFFF'FFFFu) {
|
|
|
*size = c.currentExtent;
|
|
|
- Core::logInfo("Swapchain size: #x#", size->width, size->height);
|
|
|
+ Core::logInfo("Swapchain size: {}x{}", size->width, size->height);
|
|
|
return false;
|
|
|
}
|
|
|
int w = 0;
|
|
|
@@ -599,14 +599,14 @@ struct VulkanDummy {
|
|
|
Core::logError("Could not get framebuffer size");
|
|
|
return true;
|
|
|
}
|
|
|
- Core::logInfo("Framebuffer size: #x#", w, h);
|
|
|
+ Core::logInfo("Framebuffer size: {}x{}", w, h);
|
|
|
size->width = Core::clamp(
|
|
|
static_cast<u32>(w), c.minImageExtent.width,
|
|
|
c.maxImageExtent.width);
|
|
|
size->height = Core::clamp(
|
|
|
static_cast<u32>(h), c.minImageExtent.height,
|
|
|
c.maxImageExtent.height);
|
|
|
- Core::logInfo("Swapchain size: #x#", size->width, size->height);
|
|
|
+ Core::logInfo("Swapchain size: {}x{}", size->width, size->height);
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
@@ -655,7 +655,7 @@ struct VulkanDummy {
|
|
|
int points = 0;
|
|
|
VkPhysicalDeviceProperties p;
|
|
|
b.getPhysicalDeviceProperties(p);
|
|
|
- Core::logInfo("Checking '#'", p.deviceName);
|
|
|
+ Core::logInfo("Checking '{}'", p.deviceName);
|
|
|
switch(p.deviceType) {
|
|
|
case VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU: points += 100; break;
|
|
|
case VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU: points += 50; break;
|
|
|
@@ -689,7 +689,7 @@ struct VulkanDummy {
|
|
|
} else {
|
|
|
points += getSurfacePresentModePoints(d.presentMode);
|
|
|
}
|
|
|
- Core::logInfo("> Final points: #", points);
|
|
|
+ Core::logInfo("> Final points: {}", points);
|
|
|
return points;
|
|
|
}
|
|
|
|
|
|
@@ -701,7 +701,7 @@ struct VulkanDummy {
|
|
|
}
|
|
|
VkPhysicalDeviceProperties p;
|
|
|
base.getPhysicalDeviceProperties(p);
|
|
|
- Core::logInfo("Best Device: #", p.deviceName);
|
|
|
+ Core::logInfo("Best Device: {}", p.deviceName);
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
@@ -710,7 +710,7 @@ struct VulkanDummy {
|
|
|
Core::logError("Could not get swapchain images");
|
|
|
return true;
|
|
|
}
|
|
|
- Core::logInfo("Found # images", images.images.getLength());
|
|
|
+ Core::logInfo("Found {} images", images.images.getLength());
|
|
|
return false;
|
|
|
}
|
|
|
|