vulkan: pick the first device with the highest score when multiple have the same score.

This commit is contained in:
Sasha Szpakowski
2025-02-02 10:57:22 -04:00
parent 2e0b85a005
commit cc88b94ac4
2 changed files with 24 additions and 24 deletions
-1
View File
@@ -317,7 +317,6 @@ private:
void createPipelineCache();
void initVMA();
void createSurface();
bool checkDeviceExtensionSupport(VkPhysicalDevice device);
SwapChainSupportDetails querySwapChainSupport(VkPhysicalDevice device);
VkSurfaceFormatKHR chooseSwapSurfaceFormat(const std::vector<VkSurfaceFormatKHR> &availableFormats);
VkPresentModeKHR chooseSwapPresentMode(const std::vector<VkPresentModeKHR> &availablePresentModes);