- add vulkan info to startup log
This commit is contained in:
parent
7d56aa4b0b
commit
9d792f79f1
4 changed files with 44 additions and 3 deletions
|
|
@ -290,10 +290,7 @@ void VulkanDevice::selectPhysicalDevice()
|
|||
|
||||
for (const auto &device : devices)
|
||||
{
|
||||
VkPhysicalDeviceProperties deviceProperties;
|
||||
vkGetPhysicalDeviceProperties(device, &deviceProperties);
|
||||
|
||||
VkPhysicalDeviceFeatures deviceFeatures;
|
||||
vkGetPhysicalDeviceFeatures(device, &deviceFeatures);
|
||||
|
||||
bool isUsableDevice = deviceProperties.deviceType == VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU && deviceFeatures.geometryShader && deviceFeatures.samplerAnisotropy;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue