mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-27 04:54:15 +01:00
[dxvk] Adapter can now be retrieved from the device
This commit is contained in:
parent
5d99a37d69
commit
9b09184c9a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user