mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
[samples][PhysicalDeviceGroups] Fix device name output
This commit is contained in:
parent
590fc89fb5
commit
2f4ca1d168
@ -43,7 +43,7 @@ int main(int /*argc*/, char ** /*argv*/)
|
|||||||
std::cout << "\t" << "physicalDevices:\n";
|
std::cout << "\t" << "physicalDevices:\n";
|
||||||
for (size_t j = 0; j < groupProperties[i].physicalDeviceCount; j++)
|
for (size_t j = 0; j < groupProperties[i].physicalDeviceCount; j++)
|
||||||
{
|
{
|
||||||
std::cout << "\t\t" << j << " : " << groupProperties[i].physicalDevices[j] << "\n";
|
std::cout << "\t\t" << j << " : " << groupProperties[i].physicalDevices[j].getProperties().deviceName << "\n";
|
||||||
}
|
}
|
||||||
std::cout << "\t" << "subsetAllocation = " << static_cast<bool>(groupProperties[i].subsetAllocation) << "\n";
|
std::cout << "\t" << "subsetAllocation = " << static_cast<bool>(groupProperties[i].subsetAllocation) << "\n";
|
||||||
std::cout << "\n";
|
std::cout << "\n";
|
||||||
|
Loading…
Reference in New Issue
Block a user