Merge pull request #51099 from Calinou/vulkan-print-device-release
Print the Vulkan device name in release builds too
This commit is contained in:
commit
f7d47942ad
|
@ -757,9 +757,9 @@ Error VulkanContext::_create_physical_device() {
|
||||||
vendor_idx++;
|
vendor_idx++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#ifdef DEBUG_ENABLED
|
|
||||||
print_line("Using Vulkan Device #" + itos(device_index) + ": " + device_vendor + " - " + device_name);
|
print_line("Using Vulkan Device #" + itos(device_index) + ": " + device_vendor + " - " + device_name);
|
||||||
#endif
|
|
||||||
device_api_version = gpu_props.apiVersion;
|
device_api_version = gpu_props.apiVersion;
|
||||||
|
|
||||||
err = vkEnumerateDeviceExtensionProperties(gpu, nullptr, &device_extension_count, nullptr);
|
err = vkEnumerateDeviceExtensionProperties(gpu, nullptr, &device_extension_count, nullptr);
|
||||||
|
|
Loading…
Reference in New Issue