Merge pull request #51099 from Calinou/vulkan-print-device-release

Print the Vulkan device name in release builds too
This commit is contained in:
Rémi Verschelde 2021-07-31 20:48:27 +02:00 committed by GitHub
commit f7d47942ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -757,9 +757,9 @@ Error VulkanContext::_create_physical_device() {
vendor_idx++;
}
}
#ifdef DEBUG_ENABLED
print_line("Using Vulkan Device #" + itos(device_index) + ": " + device_vendor + " - " + device_name);
#endif
device_api_version = gpu_props.apiVersion;
err = vkEnumerateDeviceExtensionProperties(gpu, nullptr, &device_extension_count, nullptr);