diff options
| author | Jonathan Bradley <jcb@pikum.xyz> | 2023-08-28 07:00:03 -0400 |
|---|---|---|
| committer | Jonathan Bradley <jcb@pikum.xyz> | 2023-08-28 07:25:35 -0400 |
| commit | b29fb48ac8d99a44e4bd63de262a66b1959893b9 (patch) | |
| tree | c8a207c8289b83a46b593d4e4c9e20556faa520e /src | |
| parent | 135aefb1f8f48077fdafb898d547f7afcf027312 (diff) | |
print selected physical device name
Diffstat (limited to 'src')
| -rw-r--r-- | src/window.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/window.cpp b/src/window.cpp index 55473c4..ec3ddf4 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -299,6 +299,9 @@ void InitVulkan() { } vkPhysicalDevice = device; + VkPhysicalDeviceProperties deviceProps; + vkGetPhysicalDeviceProperties(vkPhysicalDevice, &deviceProps); + printf("Selected VkPhysicalDevice: %s\n", deviceProps.deviceName); break; } assert(vkPhysicalDevice != nullptr && "Failed to find suitable physical device"); |
