No need to add version for nvidia twice
@@ -2371,13 +2371,7 @@ static VkResult overlay_CreateSwapchainKHR(
std::string deviceName = prop.deviceName;
get_device_name(prop.vendorID, prop.deviceID, swapchain_data->sw_stats);
if(driverProps.driverID == VK_DRIVER_ID_NVIDIA_PROPRIETARY){
- ss.str(""); ss.clear();
- ss << "NVIDIA";
- ss << " (" << ((prop.driverVersion >> 22) & 0x3ff);
- ss << "." << ((prop.driverVersion >> 14) & 0x0ff);
- ss << "." << std::setw(2) << std::setfill('0') << ((prop.driverVersion >> 6) & 0x0ff);
- ss << ")";
- swapchain_data->sw_stats.driverName = ss.str();
+ swapchain_data->sw_stats.driverName = "NVIDIA";
}
if(driverProps.driverID == VK_DRIVER_ID_AMD_PROPRIETARY)
swapchain_data->sw_stats.driverName = "AMDGPU-PRO";
