|
@@ -655,27 +655,27 @@ struct VulkanDummy {
|
|
|
d.graphicsFamily = b.findQueueFamily(VK_QUEUE_GRAPHICS_BIT);
|
|
|
if(d.graphicsFamily == Vulkan::INVALID_QUEUE_FAMILY) {
|
|
|
LOG_INFO("> ... has no graphics family");
|
|
|
- points = -1;
|
|
|
+ points = -1000;
|
|
|
}
|
|
|
d.presentFamily = b.findSurfaceQueueFamily();
|
|
|
if(d.presentFamily == Vulkan::INVALID_QUEUE_FAMILY) {
|
|
|
LOG_INFO("> ... has no present family");
|
|
|
- points = -1;
|
|
|
+ points = -1000;
|
|
|
}
|
|
|
if(!b.hasExtension(VK_KHR_SWAPCHAIN_EXTENSION_NAME)) {
|
|
|
LOG_INFO("> ... has no swapchain support");
|
|
|
- points = -1;
|
|
|
+ points = -1000;
|
|
|
}
|
|
|
if(b.findSurfaceFormat(d.surfaceFormat, getSurfaceFormatPoints)) {
|
|
|
LOG_INFO("> ... has no matching surface format");
|
|
|
- points = -1;
|
|
|
+ points = -1000;
|
|
|
} else {
|
|
|
points += getSurfaceFormatPoints(d.surfaceFormat);
|
|
|
}
|
|
|
if(b.findSurfacePresentMode(
|
|
|
d.presentMode, getSurfacePresentModePoints)) {
|
|
|
LOG_INFO("> ... has no matching present mode");
|
|
|
- points = -1;
|
|
|
+ points = -1000;
|
|
|
} else {
|
|
|
points += getSurfacePresentModePoints(d.presentMode);
|
|
|
}
|