raw vk::deviceproperties and python dict
This commit is contained in:
parent
f52efcef0f
commit
d71d169886
5 changed files with 24 additions and 65 deletions
|
|
@ -447,17 +447,10 @@ Manager::sequence(uint32_t queueIndex, uint32_t totalTimestamps)
|
|||
return sq;
|
||||
}
|
||||
|
||||
DeviceProperties Manager::getDeviceProperties() const
|
||||
vk::PhysicalDeviceProperties
|
||||
Manager::getDeviceProperties() const
|
||||
{
|
||||
const vk::PhysicalDeviceProperties properties = this->mPhysicalDevice->getProperties();
|
||||
const DeviceProperties output{
|
||||
std::string(properties.deviceName.data()),
|
||||
properties.limits.maxComputeWorkGroupCount,
|
||||
properties.limits.maxComputeWorkGroupInvocations,
|
||||
properties.limits.maxComputeWorkGroupSize,
|
||||
properties.limits.timestampComputeAndGraphics,
|
||||
};
|
||||
return output;
|
||||
return this->mPhysicalDevice->getProperties();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue