Store physical device features in example base class
This commit is contained in:
parent
568161362c
commit
561cb78720
2 changed files with 5 additions and 0 deletions
|
|
@ -768,7 +768,10 @@ void VulkanExampleBase::initVulkan(bool enableValidation)
|
|||
err = createDevice(queueCreateInfo, enableValidation);
|
||||
assert(!err);
|
||||
|
||||
// Store properties (including limits) and features of the phyiscal device
|
||||
// So examples can check against them and see if a feature is actually supported
|
||||
vkGetPhysicalDeviceProperties(physicalDevice, &deviceProperties);
|
||||
vkGetPhysicalDeviceFeatures(physicalDevice, &deviceFeatures);
|
||||
|
||||
#if defined(__ANDROID__)
|
||||
LOGD(deviceProperties.deviceName);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue