[dxvk] Adapter can now be retrieved from the device

This commit is contained in:
Philip Rebohle 2017-10-11 15:32:05 +02:00
parent 5d99a37d69
commit 9b09184c9a
1 changed files with 11 additions and 0 deletions

View File

@ -46,6 +46,17 @@ namespace dxvk {
return m_vkd->device();
}
/**
* \brief The adapter
*
* The physical device that the
* device has been created for.
* \returns Adapter
*/
Rc<DxvkAdapter> adapter() const {
return m_adapter;
}
/**
* \brief Creates a command list
* \returns The command list